CVE-2024-28855 json
ZITADEL vulnerable to improper HTML sanitization
published 2024-03-18 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0935 , GHSA-hfrg-4jwr-jfpj , GO-2024-2655
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/zitadel/zitadel 0.0.0-20240311065202-07ec2efa9dc6, 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6, 1.80.0-v2.20.0.20240312162750-5908b97e7c22, 2.41.15, 2.42.15, 2.43.9, 2.44.3, 2.45.1, 2.46.1, 2.47.4
- zitadel zitadel 2.41.15, 2.42.15, 2.43.9, 2.44.3, 2.47.4
- github.com/zitadel/zitadel@07ec2ef commit
- github.com/zitadel/zitadel/releases/tag/v2.41.15 release
- github.com/zitadel/zitadel/releases/tag/v2.42.15 release
- github.com/zitadel/zitadel/releases/tag/v2.43.9 release
- github.com/zitadel/zitadel/releases/tag/v2.44.3 release
- github.com/zitadel/zitadel/releases/tag/v2.45.1 release
- github.com/zitadel/zitadel/releases/tag/v2.46.1 release
- github.com/zitadel/zitadel/releases/tag/v2.47.3 release
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/zitadel/zitadel | >=1.80.1, <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.45.1 >=2.46.0, <2.46.1 >=2.47.0, <2.47.4 <0.0.0-20240311065202-07ec2efa9dc6 >=0.0.0, <1.80.0-v2.20.0.20240311065202-07ec2efa9dc6 <1.80.0-v2.20.0.20240312162750-5908b97e7c22 |
2.41.15 2.42.15 2.43.9 2.44.3 2.45.1 2.46.1 2.47.4 0.0.0-20240311065202-07ec2efa9dc6 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6 1.80.0-v2.20.0.20240312162750-5908b97e7c22 |
Affected products
- zitadel zitadel
Classification
References
-
github.com
/zitadel/zitadel/commit/07ec2efa9dc62f7a6c3a58c112b2879d24bc3e3c
web, patch
-
github.com
/zitadel/zitadel/security/advisories/GHSA-hfrg-4jwr-jfpj
web, vendor-advisory, advisory
-
github.com
/zitadel/zitadel/releases/tag/v2.41.15
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.42.15
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.43.9
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.44.3
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.45.1
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.46.1
web, release-notes
-
github.com
/zitadel/zitadel/releases/tag/v2.47.3
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2024-28855
advisory
-
github.com
/zitadel/zitadel
package
Sources
- CVE List CVE-2024-28855
- GitHub Advisory GHSA-hfrg-4jwr-jfpj
- NVD CVE-2024-28855
- OSV GO-2024-2655
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.