CVE-2024-28855: zitadel Improper Input Validation
Vulnerability summary
CVE-2024-28855 is a high (CVSS 8.1) Improper Input Validation vulnerability in zitadel. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 55.1% of scored vulnerabilities.
Timeline
- 18-03-2024PublishedVulnerability first disclosed.
- 13-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.78%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
0.00 pp
From 0.78% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Affected systems
Github.com/zitadel1 product
- 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
Zitadel1 product
- zitadel= 2.45.0 | = 2.46.0 | < 2.41.15 | ≥ 2.42.0, < 2.42.15 | ≥ 2.43.0, < 2.43.9 | ≥ 2.44.0, < 2.44.3 | ≥ 2.47.0, < 2.47.4 | 2.45.0 | 2.45.0:rc1 | 2.46.0 | 2.46.0:rc1 | 2.46.0:rc2
2 vendors · 2 products
References
11 links- github.com/zitadel/zitadel/security/advisories/GHSA-hfrg-4jwr-jfpjX Refsource CONFIRMWEBAdvisoryVendor Advisory
Show all 11 references
- github.com/zitadel/zitadelPACKAGE