# CVE-2023-46238: XSS with User Avatar image in ZITADEL

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2023-10-26T14:22:52.496Z
- Modified: 2026-06-17T06:30:29.537Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

ZITADEL is an identity infrastructure management system. ZITADEL users can upload their own avatar image using various image types including SVG. SVG can include scripts, such as javascript, which can be executed during rendering. Due to a missing security header, an attacker could inject code to an SVG to gain access to the victim’s account in certain scenarios. A victim would need to directly open the malicious image in the browser, where a single session in ZITADEL needs to be active for this exploit to work. If the possible victim had multiple or no active sessions in ZITADEL, the attack would not succeed. This issue has been patched in version 2.39.2 and 2.38.2.

(As written by CVE List.)

## Affected

- zitadel zitadel: < 2.38.2; >= 2.39.0, < 2.39.2; before 2.38.2; from 2.39.0 before 2.39.2

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/zitadel/zitadel/security/advisories/GHSA-954h-jrpm-72pm> (vendor-advisory)
- <https://github.com/zitadel/zitadel/releases/tag/v2.38.2> (patch)
- <https://github.com/zitadel/zitadel/releases/tag/v2.39.2> (patch)

## Sources

- CVE List: [CVE-2023-46238](https://www.cve.org/CVERecord?id=CVE-2023-46238), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2023-46238](https://nvd.nist.gov/vuln/detail/CVE-2023-46238), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-46238 · Whole record: https://cve.day/CVE-2023-46238.json · Rebuilt by cve.day 2026-11-25T22:58:29.689Z
