{"schemaVersion":3,"id":"CVE-2024-28855","aliases":["GHSA-hfrg-4jwr-jfpj","GO-2024-2655"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-03-18T21:46:47.314Z","modified":"2024-08-13T14:19:08.789Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00779,"percentile":0.55153,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00779},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00779,"percentile":0.55153}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00779,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00779,"percentile":0.55153}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"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.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"github.com/zitadel","product":"zitadel","name":"github.com/zitadel/zitadel","label":"zitadel","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/zitadel/zitadel","purlType":"golang","versions":[{"text":"≥ 1.80.1, < 2.41.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.42.0, < 2.42.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.43.0, < 2.43.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.44.0, < 2.44.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.45.0, < 2.45.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.46.0, < 2.46.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.47.0, < 2.47.4","noFixRecorded":false,"fixedIn":null},{"text":"< 0.0.0-20240311065202-07ec2efa9dc6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0, < 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6","noFixRecorded":false,"fixedIn":null},{"text":"< 1.80.0-v2.20.0.20240312162750-5908b97e7c22","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":null},{"vendor":"zitadel","product":"zitadel","name":"zitadel","label":"zitadel","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"= 2.45.0","noFixRecorded":false,"fixedIn":null},{"text":"= 2.46.0","noFixRecorded":false,"fixedIn":null},{"text":"< 2.41.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.42.0, < 2.42.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.43.0, < 2.43.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.44.0, < 2.44.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.47.0, < 2.47.4","noFixRecorded":false,"fixedIn":null},{"text":"2.45.0","noFixRecorded":false,"fixedIn":null},{"text":"2.45.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"2.46.0","noFixRecorded":false,"fixedIn":null},{"text":"2.46.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"2.46.0:rc2","noFixRecorded":false,"fixedIn":null}],"versionsText":"= 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","eol":null,"hubHref":"/vendor/zitadel/zitadel"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-hfrg-4jwr-jfpj","label":"github.com/zitadel/zitadel/security/advisories/GHSA-hfrg-4jwr-jfpj","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Vendor Advisory"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.41.15","label":"github.com/zitadel/zitadel/releases/tag/v2.41.15","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.42.15","label":"github.com/zitadel/zitadel/releases/tag/v2.42.15","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.43.9","label":"github.com/zitadel/zitadel/releases/tag/v2.43.9","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.44.3","label":"github.com/zitadel/zitadel/releases/tag/v2.44.3","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.45.1","label":"github.com/zitadel/zitadel/releases/tag/v2.45.1","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.46.1","label":"github.com/zitadel/zitadel/releases/tag/v2.46.1","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.47.3","label":"github.com/zitadel/zitadel/releases/tag/v2.47.3","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28855","label":"nvd.nist.gov/vuln/detail/CVE-2024-28855","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/zitadel/zitadel/commit/07ec2efa9dc62f7a6c3a58c112b2879d24bc3e3c","label":"github.com/zitadel/zitadel/commit/07ec2efa9dc62f7a6c3a58c112b2879d24bc3e3c","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/zitadel/zitadel","label":"github.com/zitadel/zitadel","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-03-18T21:46:47.314Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-13T14:19:08.789Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T12:09:15.398Z","stale":false,"partial":false}}