CVE-2024-28855

HIGH
Published Mar 18, 2024 Modified Jan 8, 2025 CWE-20 CWE-79

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.

Is your site exposed to CVE-2024-28855?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

8.1
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Weakness Type (CWE)

CWE-20 Improper Input Validation
CWE-79 Cross-site Scripting (XSS)

Affected Products

Vendor Product
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel
zitadel zitadel

References

Frequently Asked Questions

What is CVE-2024-28855? +
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. It has a CVSS v3.1 base score of 8.1 (HIGH).
How severe is CVE-2024-28855? +
CVE-2024-28855 has a CVSS v3.1 score of 8.1 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-28855? +
CVE-2024-28855 affects products from zitadel, specifically: zitadel. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-28855? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-28855 — free, no signup required.