Skip to content

CVE-2024-28855 ZITADEL vulnerable to improper HTML sanitization

MediumCVSS 6.1 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
zitadel github.com/zitadel/zitadel < 2.41.15; = 2.45.0; = 2.45.0-rc1; = 2.46.0 +13 more 2.41.15, 2.42.15, 2.43.9, 2.44.3, 2.47.4 Fixed
zitadel github.com/zitadel/zitadel(Go) < 0.0.0-20240311065202-07ec2efa9dc6; < 1.80.0-v2.20.0.20240312162750-5908b97e7c22; = 2.45.0; = 2.46.0 +8 more 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 Fixed

Affected products

ProductAffected versionsFixed in
zitadel github.com/zitadel/zitadel(Go) >= 1.80.1, < 2.41.15 2.41.15
zitadel github.com/zitadel/zitadel(Go) >= 2.42.0, < 2.42.15 2.42.15
zitadel github.com/zitadel/zitadel(Go) >= 2.43.0, < 2.43.9 2.43.9
zitadel github.com/zitadel/zitadel(Go) >= 2.44.0, < 2.44.3 2.44.3
zitadel github.com/zitadel/zitadel(Go) >= 2.45.0, < 2.45.1 2.45.1
zitadel github.com/zitadel/zitadel(Go) = 2.45.0 No fix listed
zitadel github.com/zitadel/zitadel(Go) >= 2.46.0, < 2.46.1 2.46.1
zitadel github.com/zitadel/zitadel(Go) = 2.46.0 No fix listed
zitadel github.com/zitadel/zitadel(Go) >= 2.47.0, < 2.47.4 2.47.4
zitadel github.com/zitadel/zitadel(Go) < 0.0.0-20240311065202-07ec2efa9dc6 0.0.0-20240311065202-07ec2efa9dc6
zitadel github.com/zitadel/zitadel(Go) >= 0.0.0, < 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6
zitadel github.com/zitadel/zitadel(Go) < 1.80.0-v2.20.0.20240312162750-5908b97e7c22 1.80.0-v2.20.0.20240312162750-5908b97e7c22
zitadel github.com/zitadel/zitadel = < 2.41.15 No fix listed
zitadel github.com/zitadel/zitadel = >= 2.42.0, < 2.42.15 No fix listed
zitadel github.com/zitadel/zitadel = >= 2.43.0, < 2.43.9 No fix listed
zitadel github.com/zitadel/zitadel = >= 2.44.0, < 2.44.3 No fix listed
zitadel github.com/zitadel/zitadel = = 2.45.0 No fix listed
zitadel github.com/zitadel/zitadel = = 2.46.0 No fix listed
zitadel github.com/zitadel/zitadel = >= 2.47.0, < 2.47.4 No fix listed
zitadel github.com/zitadel/zitadel < 2.41.15 2.41.15
zitadel github.com/zitadel/zitadel >= 2.42.0, < 2.42.15 2.42.15
zitadel github.com/zitadel/zitadel >= 2.43.0, < 2.43.9 2.43.9
zitadel github.com/zitadel/zitadel >= 2.44.0, < 2.44.3 2.44.3
zitadel github.com/zitadel/zitadel >= 2.47.0, < 2.47.4 2.47.4
zitadel github.com/zitadel/zitadel = 2.45.0 No fix listed
Show 4 more
ProductAffected versionsFixed in
zitadel github.com/zitadel/zitadel = 2.46.0 No fix listed
zitadel github.com/zitadel/zitadel = 2.45.0-rc1 No fix listed
zitadel github.com/zitadel/zitadel = 2.46.0-rc1 No fix listed
zitadel github.com/zitadel/zitadel = 2.46.0-rc2 No fix listed

References