CVE-2024-28855
mediumpriority · track · 24EPSS 0.008 · 55 %ileEUUSEPSS · scored 2026-10-22
ZITADEL, open source authentication management software, uses Go templates to render the login UI. Due to a improper use of the `text/template` instead of the `html/template` package, the Login UI did not sanitize input parameters prior to versions 2.47.3, 2.46.1, 2.45.1, 2.44.3, 2.43.9, 2.42.15, and 2.41.15. An attacker could create a malicious link, where he injected code which would be rendered as part of the login screen. While it was possible to inject HTML including JavaScript, the execution of such scripts would be prevented by the Content Security Policy. Versions 2.47.3, 2.46.1, 2.45.1, 2.44.3, 2.43.9, 2.42.15, and 2.41.15 contain a patch for this issue. No known workarounds are available.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.6–8.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (25)
Products and version ranges known to be affected.
- Go github.com/zitadel/zitadel< 0.0.0-20240311065202-07ec2efa9dc6osvUSpkg:golang/github.com/zitadel/zitadel
- Go github.com/zitadel/zitadel< 1.80.0-v2.20.0.20240312162750-5908b97e7c22osvUSpkg:golang/github.com/zitadel/zitadel
- Go github.com/zitadel/zitadel0.0.0 → 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6osvUSpkg:golang/github.com/zitadel/zitadel
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-hfrg-4jwr-jfpjImproper HTML sanitization in ZITADEL2024-03-18ghsa · osvUS
### Impact ZITADEL uses Go templates to render the login UI. Due to a improper use of the `text/template` instead of the `html/template` package, the Login UI did not sanitize input parameters. An attacker could create a malicious link, where he injected code which would be rendered as part of the login screen. While it was possible to inject HTML including javascript, the execution of such scripts would be prevented by the Content Security Policy. ### Patches 2.x versions are fixed on >= [2.47.3](https://github.com/zitadel/zitadel/releases/tag/v2.47.3) 2.46.x versions are fixed on >= [2.46.1](https://github.com/zitadel/zitadel/releases/tag/v2.46.1) 2.45.x versions are fixed on >= [2.45.1](https://github.com/zitadel/zitadel/releases/tag/v2.45.1) 2.44.x versions are fixed on >= [2.44.3](https://github.com/zitadel/zitadel/releases/tag/v2.44.3) 2.43.x versions are fixed on >= [2.43.9](https://github.com/zitadel/zitadel/releases/tag/v2.43.9) 2.42.x versions are fixed on >= [2.42.15](https://github.com/zitadel/zitadel/releases/tag/v2.42.15) 2.41.x versions are fixed on >= [2.41.15](https://github.com/zitadel/zitadel/releases/tag/v2.41.15) ZITADEL recommends upgrading to the latest versions available in due course. ### Workarounds There is no workaround since a patch is already available. ### Questions If you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com) ### Credits Thanks to Daniel Philipp - owt and Thomas Wickham - synopsis for reporting this.
- GO-2024-2655XSS in github.com/zitadel/zitadel2024-03-27vendor · osvUS
The Login UI did not sanitize input parameters. An attacker could create a malicious link, where injected code would be rendered as part of the login screen.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (25)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-28855/cnnvd
- https://github.com/zitadel/zitadel/releases/tag/v2.41.15cnnvd
- https://github.com/zitadel/zitadel/releases/tag/v2.42.15cnnvd
- https://github.com/zitadel/zitadel/releases/tag/v2.43.9cnnvd
- https://github.com/zitadel/zitadel/releases/tag/v2.44.3cnnvd
- https://github.com/zitadel/zitadel/releases/tag/v2.45.1cnnvd
- https://github.com/zitadel/zitadel/releases/tag/v2.46.1cnnvd
- https://github.com/zitadel/zitadel/releases/tag/v2.47.3cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan