# CVE-2024-28855: ZITADEL vulnerable to improper HTML sanitization

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/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.78%, higher than 57% of CVEs (2026-12-01)
- Published: 2024-03-18T20:34:00.000Z
- Modified: 2026-09-10T03:50:10.567Z
- Also known as: GHSA-hfrg-4jwr-jfpj, GO-2024-2655
- Weaknesses: CWE-20, CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- zitadel zitadel: < 2.41.15; >= 2.42.0, < 2.42.15; >= 2.43.0, < 2.43.9; >= 2.44.0, < 2.44.3; = 2.45.0; = 2.46.0; >= 2.47.0, < 2.47.4; before 2.41.15; from 2.42.0 before 2.42.15; from 2.43.0 before 2.43.9; from 2.44.0 before 2.44.3; from 2.47.0 before 2.47.4; and 2 more
- github.com/zitadel/zitadel (Go): from 1.80.1 before 2.41.15; from 2.42.0 before 2.42.15; from 2.43.0 before 2.43.9; from 2.44.0 before 2.44.3; from 2.45.0 before 2.45.1; from 2.46.0 before 2.46.1; from 2.47.0 before 2.47.4; before 0.0.0-20240311065202-07ec2efa9dc6; from 0.0.0 before 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6; before 1.80.0-v2.20.0.20240312162750-5908b97e7c22

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/zitadel/zitadel/security/advisories/GHSA-hfrg-4jwr-jfpj> (advisory, vendor-advisory, web)
- <https://github.com/zitadel/zitadel/releases/tag/v2.41.15> (release-notes, web)
- <https://github.com/zitadel/zitadel/releases/tag/v2.42.15> (release-notes, web)
- <https://github.com/zitadel/zitadel/releases/tag/v2.43.9> (release-notes, web)
- <https://github.com/zitadel/zitadel/releases/tag/v2.44.3> (release-notes, web)
- <https://github.com/zitadel/zitadel/releases/tag/v2.45.1> (release-notes, web)
- <https://github.com/zitadel/zitadel/releases/tag/v2.46.1> (release-notes, web)
- <https://github.com/zitadel/zitadel/releases/tag/v2.47.3> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-28855> (advisory)
- <https://github.com/zitadel/zitadel/commit/07ec2efa9dc62f7a6c3a58c112b2879d24bc3e3c> (fix, web)
- <https://github.com/zitadel/zitadel> (package)

## Sources

- CVE List: [CVE-2024-28855](https://www.cve.org/CVERecord?id=CVE-2024-28855), CVE Terms of Use, modified 2024-08-13
- GitHub Advisory Database: [GHSA-hfrg-4jwr-jfpj](https://github.com/advisories/GHSA-hfrg-4jwr-jfpj), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2655](https://pkg.go.dev/vuln/GO-2024-2655), CC-BY-4.0, modified 2024-07-09
- NVD: [CVE-2024-28855](https://nvd.nist.gov/vuln/detail/CVE-2024-28855), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-28855 · Whole record: https://cve.day/CVE-2024-28855.json · Rebuilt by cve.day 2026-11-25T22:58:37.692Z
