CVE-2024-28855

ZITADEL vulnerable to improper HTML sanitization

Published Mar 18, 2024 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0935 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.
Github GHSA Github GHSA GHSA-hfrg-4jwr-jfpj Improper HTML sanitization in ZITADEL
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00876}

epss

{'score': 0.00901}

Type Values Removed Values Added
First Time appeared Zitadel
Zitadel zitadel
Weaknesses CWE-79
CPEs cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
cpe:2.3:a:zitadel:zitadel:2.45.0:-:*:*:*:*:*:*
cpe:2.3:a:zitadel:zitadel:2.45.0:rc1:*:*:*:*:*:*
cpe:2.3:a:zitadel:zitadel:2.46.0:-:*:*:*:*:*:*
cpe:2.3:a:zitadel:zitadel:2.46.0:rc1:*:*:*:*:*:*
cpe:2.3:a:zitadel:zitadel:2.46.0:rc2:*:*:*:*:*:*
Vendors & Products Zitadel
Zitadel zitadel
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2024, 2:19 PM
Reserved
Mar 11, 2024, 10:45 PM
Status
Analyzed
Published
Mar 18, 2024, 10:15 PM
Modified
Jun 17, 2026, 7:21 AM