Skip to main content

Improper Input Validation


Severity High
Score 8.1/10


ZITADEL, open source authentication management software, uses Go templates to render the login UI. Due to improper use of the `text/template` instead of the `html/template` package, the Login UI did not sanitize input parameters. An attacker could create a malicious link, where he injected code that 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. This issue affects versions prior to 2.41.15, 2.42.x prior to 2.42.15, 2.43.x prior to 2.43.9, 2.44.x prior to 2.44.3, 2.45.x prior to 2.45.1, 2.46.x prior to 2.46.1 and 2.47.x prior to 2.47.3.

  • LOW
  • HIGH
  • NONE
  • HIGH
  • NONE

CWE-20 - Improper Input Validation

The 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.

Advisory Timeline

  • Published