Vulnerability · Published Oct 26, 2023 · Assigned by GitHub_M
CVE-2023-46238XSS with User Avatar image in ZITADEL
High 8.7
In plain English
A high-severity cross-site scripting in zitadel from zitadel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-954h-jrpm-72pm x_refsource_CONFIRM
- https://github.com/zitadel/zitadel/releases/tag/v2.38.2 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.39.2 x_refsource_MISC