Skip to content
Fencer Vulns
high 8.1

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

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

Weakness
  • CWE-20 Improper Input Validation
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

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.