{"schemaVersion":3,"id":"CVE-2024-29891","aliases":["GHSA-hr5w-cwwq-2v4m","GO-2024-2665"],"status":"published","duplicateOf":null,"title":null,"description":"ZITADEL users can upload their own avatar image and various image types are allowed. Due to a missing check, an attacker could upload HTML and pretend it is an image to gain access to the victim's account in certain scenarios. A possible victim would need to directly open the supposed image in the browser, where a session in ZITADEL needs to be active for this exploit to work. The exploit could only be reproduced if the victim was using Firefox. Chrome, Safari as well as Edge did not execute the code. This vulnerability is fixed in 2.48.3, 2.47.8, 2.46.5, 2.45.5, 2.44.7, 2.43.11, and 2.42.17.","dates":{"published":"2024-03-27T19:18:08.078Z","modified":"2024-08-02T01:17:58.325Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":8.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0076,"percentile":0.54752,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.0076},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0076,"percentile":0.54752}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0076,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0076,"percentile":0.54752}]},"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-434","name":"Unrestricted Upload of File with Dangerous Type","description":"The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/434.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":"< 2.42.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.43.0, < 2.43.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.44.0, < 2.44.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.45.0, < 2.45.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.46.0, < 2.46.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.47.0, < 2.47.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.48.0, < 2.48.3","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 2.42.17 | ≥ 2.43.0, < 2.43.11 | ≥ 2.44.0, < 2.44.7 | ≥ 2.45.0, < 2.45.5 | ≥ 2.46.0, < 2.46.5 | ≥ 2.47.0, < 2.47.8 | ≥ 2.48.0, < 2.48.3 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"zitadel","product":"zitadel","name":"zitadel","label":"zitadel","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.42.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.43.0, < 2.43.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.44.0, < 2.44.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.45.0, < 2.45.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.46.0, < 2.46.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.47.0, < 2.47.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.48.0, < 2.48.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.42.17 | ≥ 2.43.0, < 2.43.11 | ≥ 2.44.0, < 2.44.7 | ≥ 2.45.0, < 2.45.5 | ≥ 2.46.0, < 2.46.5 | ≥ 2.47.0, < 2.47.8 | ≥ 2.48.0, < 2.48.3","eol":null,"hubHref":"/vendor/zitadel/zitadel"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m","label":"github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Vendor Advisory"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.42.17","label":"github.com/zitadel/zitadel/releases/tag/v2.42.17","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.43.11","label":"github.com/zitadel/zitadel/releases/tag/v2.43.11","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.44.7","label":"github.com/zitadel/zitadel/releases/tag/v2.44.7","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.45.5","label":"github.com/zitadel/zitadel/releases/tag/v2.45.5","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.46.5","label":"github.com/zitadel/zitadel/releases/tag/v2.46.5","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.47.8","label":"github.com/zitadel/zitadel/releases/tag/v2.47.8","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.48.3","label":"github.com/zitadel/zitadel/releases/tag/v2.48.3","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29891","label":"nvd.nist.gov/vuln/detail/CVE-2024-29891","hostname":"nvd.nist.gov","tags":["Advisory"]},{"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-27T19:18:08.078Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T01:17:58.325Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T14:30:59.460Z","stale":false,"partial":false}}