ZITADEL vulnerable to improper HTML sanitization
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| zitadel | zitadel | before 2.41.15; 2.42.0 to before 2.42.15; 2.43.0 to before 2.43.9; 2.44.0 to before 2.44.3; = 2.45.0; = 2.46.0; 2.47.0 to before 2.47.4 | 2.41.15, 2.42.15, 2.43.9, 2.44.3, 2.47.4 | Patch available | CNA |
| — | github.com/zitadel/zitadel (Go) | 1.80.1 to before 2.41.15 | 2.41.15 | Patch available | GHSA-hfrg-4jwr-jfpj |
| — | github.com/zitadel/zitadel (Go) | 2.42.0 to before 2.42.15 | 2.42.15 | Patch available | GHSA-hfrg-4jwr-jfpj |
| — | github.com/zitadel/zitadel (Go) | 2.43.0 to before 2.43.9 | 2.43.9 | Patch available | GHSA-hfrg-4jwr-jfpj |
| — | github.com/zitadel/zitadel (Go) | 2.44.0 to before 2.44.3 | 2.44.3 | Patch available | GHSA-hfrg-4jwr-jfpj |
| — | github.com/zitadel/zitadel (Go) | 2.45.0 to before 2.45.1 | 2.45.1 | Patch available | GHSA-hfrg-4jwr-jfpj |
| — | github.com/zitadel/zitadel (Go) | 2.46.0 to before 2.46.1 | 2.46.1 | Patch available | GHSA-hfrg-4jwr-jfpj |
| — | github.com/zitadel/zitadel (Go) | 2.47.0 to before 2.47.4 | 2.47.4 | Patch available | GHSA-hfrg-4jwr-jfpj |
| — | github.com/zitadel/zitadel (Go) | before 0.0.0-20240311065202-07ec2efa9dc6 | 0.0.0-20240311065202-07ec2efa9dc6 | Patch available | GHSA-hfrg-4jwr-jfpj |
| — | github.com/zitadel/zitadel (Go) | 0.0.0 to before 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6 | 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6 | Patch available | GHSA-hfrg-4jwr-jfpj |
- zitadel Vendorzitadel Affected before 2.41.15; 2.42.0 to before 2.42.15; 2.43.0 to before 2.43.9; 2.44.0 to before 2.44.3; = 2.45.0; = 2.46.0; 2.47.0 to before 2.47.4 Fixed in 2.41.15, 2.42.15, 2.43.9, 2.44.3, 2.47.4 Patch available CNA
- github.com/zitadel/zitadel (Go) Vendor— Affected 1.80.1 to before 2.41.15 Fixed in 2.41.15 Patch available GHSA-hfrg-4jwr-jfpj
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.42.0 to before 2.42.15 Fixed in 2.42.15 Patch available GHSA-hfrg-4jwr-jfpj
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.43.0 to before 2.43.9 Fixed in 2.43.9 Patch available GHSA-hfrg-4jwr-jfpj
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.44.0 to before 2.44.3 Fixed in 2.44.3 Patch available GHSA-hfrg-4jwr-jfpj
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.45.0 to before 2.45.1 Fixed in 2.45.1 Patch available GHSA-hfrg-4jwr-jfpj
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.46.0 to before 2.46.1 Fixed in 2.46.1 Patch available GHSA-hfrg-4jwr-jfpj
- github.com/zitadel/zitadel (Go) Vendor— Affected 2.47.0 to before 2.47.4 Fixed in 2.47.4 Patch available GHSA-hfrg-4jwr-jfpj
- github.com/zitadel/zitadel (Go) Vendor— Affected before 0.0.0-20240311065202-07ec2efa9dc6 Fixed in 0.0.0-20240311065202-07ec2efa9dc6 Patch available GHSA-hfrg-4jwr-jfpj
- github.com/zitadel/zitadel (Go) Vendor— Affected 0.0.0 to before 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6 Fixed in 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6 Patch available GHSA-hfrg-4jwr-jfpj
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* | before 2.41.15; 2.42.0 to before 2.42.15; 2.43.0 to before 2.43.9; 2.44.0 to before 2.44.3; 2.47.0 to before 2.47.4 | Vulnerable | zitadel |
| cpe:2.3:a:zitadel:zitadel:2.45.0:-:*:*:*:*:*:* | 2.45.0 | Vulnerable | zitadel |
| cpe:2.3:a:zitadel:zitadel:2.45.0:rc1:*:*:*:*:*:* | 2.45.0 rc1 | Vulnerable | zitadel |
| cpe:2.3:a:zitadel:zitadel:2.46.0:-:*:*:*:*:*:* | 2.46.0 | Vulnerable | zitadel |
| cpe:2.3:a:zitadel:zitadel:2.46.0:rc1:*:*:*:*:*:* | 2.46.0 rc1 | Vulnerable | zitadel |
| cpe:2.3:a:zitadel:zitadel:2.46.0:rc2:*:*:*:*:*:* | 2.46.0 rc2 | Vulnerable | zitadel |
- cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* Versions before 2.41.15; 2.42.0 to before 2.42.15; 2.43.0 to before 2.43.9; 2.44.0 to before 2.44.3; 2.47.0 to before 2.47.4 Vulnerable ·zitadel
- cpe:2.3:a:zitadel:zitadel:2.45.0:-:*:*:*:*:*:* Versions 2.45.0 Vulnerable ·zitadel
- cpe:2.3:a:zitadel:zitadel:2.45.0:rc1:*:*:*:*:*:* Versions 2.45.0 rc1 Vulnerable ·zitadel
- cpe:2.3:a:zitadel:zitadel:2.46.0:-:*:*:*:*:*:* Versions 2.46.0 Vulnerable ·zitadel
- cpe:2.3:a:zitadel:zitadel:2.46.0:rc1:*:*:*:*:*:* Versions 2.46.0 rc1 Vulnerable ·zitadel
- cpe:2.3:a:zitadel:zitadel:2.46.0:rc2:*:*:*:*:*:* Versions 2.46.0 rc2 Vulnerable ·zitadel
Remediation
- Fix · CNA zitadel (zitadel) Fixed in 2.41.15, 2.42.15, 2.43.9, 2.44.3, 2.47.4
- Fix · GHSA-hfrg-4jwr-jfpj github.com/zitadel/zitadel (Go) Fixed in 2.41.15 Advisory →
- Fix · GHSA-hfrg-4jwr-jfpj github.com/zitadel/zitadel (Go) Fixed in 2.42.15 Advisory →
- Fix · GHSA-hfrg-4jwr-jfpj github.com/zitadel/zitadel (Go) Fixed in 2.43.9 Advisory →
- Fix · GHSA-hfrg-4jwr-jfpj github.com/zitadel/zitadel (Go) Fixed in 2.44.3 Advisory →
- Fix · GHSA-hfrg-4jwr-jfpj github.com/zitadel/zitadel (Go) Fixed in 2.45.1 Advisory →
- Fix · GHSA-hfrg-4jwr-jfpj github.com/zitadel/zitadel (Go) Fixed in 2.46.1 Advisory →
- Fix · GHSA-hfrg-4jwr-jfpj github.com/zitadel/zitadel (Go) Fixed in 2.47.4 Advisory →
- Fix · GHSA-hfrg-4jwr-jfpj github.com/zitadel/zitadel (Go) Fixed in 0.0.0-20240311065202-07ec2efa9dc6 Advisory →
- Fix · GHSA-hfrg-4jwr-jfpj github.com/zitadel/zitadel (Go) Fixed in 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-28855
- 2026-10-03 Alias added: GHSA-hfrg-4jwr-jfpj
References
Advisory 2
Other 9
- https://github.com/zitadel/zitadel/releases/tag/v2.41.15
- https://github.com/zitadel/zitadel/releases/tag/v2.42.15
- https://github.com/zitadel/zitadel/releases/tag/v2.43.9
- https://github.com/zitadel/zitadel/releases/tag/v2.44.3
- https://github.com/zitadel/zitadel/releases/tag/v2.45.1
- https://github.com/zitadel/zitadel/releases/tag/v2.46.1
- https://github.com/zitadel/zitadel/releases/tag/v2.47.3
- https://github.com/zitadel/zitadel/commit/07ec2efa9dc62f7a6c3a58c112b2879d24bc3e3c
- https://github.com/zitadel/zitadel
More Zitadel vulnerabilities
- TI-2024-26607 ZITADEL Vulnerable to Session Information Leakage CVSS 3.1MEDIUM 6.5
- TI-2025-41253 ZITADEL Vulnerable to Unauthenticated Full-Read SSRF via V2 Login CVSS 3.1CRITICAL 9.3
- TI-2025-39554 Zitadel Bypass Second Authentication Factor CVSS 4.0HIGH 8.7
- TI-2024-33224 Zitadel User Registration Bypass Vulnerability CVSS 3.1HIGH 7.5
- TI-2024-31388 Service Users Deactivation not Working in Zitadel CVSS 3.1HIGH 8.1
- TI-2026-23310 ZITADEL: Bypassing Zitadel Login Behavior and Security Policy in Login V2 CVSS 3.1HIGH 8.2
Sources
- CVE-2024-28855 · CVE Program
- CVE-2024-28855 · NVD
- FIRST EPSS
- GHSA-hfrg-4jwr-jfpj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences