{"id":"CVE-2026-135438","summary":"Anchr before 3.7.2 Stored XSS via Image Upload","details":"Anchr before 3.7.2 contains a stored cross-site scripting vulnerability that allows authenticated users to host HTML files by uploading them through the image upload feature with a spoofed image content type. Attackers can upload an .html file served via GET /api/image/:id from the Anchr origin, running script that steals the victim's localStorage session token for account takeover.","modified":"2026-11-23T22:45:30.443693735Z","published":"2026-11-23T17:57:15.988Z","database_specific":{"cwe_ids":["CWE-434"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135438.json","unresolved_ranges":[{"extracted_events":[{"strategy":"StandardRange","range":[{"fixed":"3.7.2"}],"source":"AFFECTED_FIELD"}]},{"extracted_events":[{"range":[{"fixed":"3.7.2"}],"source":"DESCRIPTION"}]}],"cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135438.json"},{"type":"PACKAGE","url":"https://github.com/muety/anchr"},{"type":"ARTICLE","url":"https://github.com/muety/anchr/blob/3.5.2/app/controllers/image.js#L46"},{"type":"ARTICLE","url":"https://github.com/muety/anchr/blob/3.5.2/config/middlewares/filetype.js"},{"type":"FIX","url":"https://github.com/muety/anchr/commit/ed33c4ecfd2cffa93ece4d4544847f839d47790f"},{"type":"REPORT","url":"https://github.com/muety/anchr/issues/91"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135438"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/anchr-before-3.7.2-stored-xss-via-image-upload"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/muety/anchr","events":[{"introduced":"0"},{"fixed":"ed33c4ecfd2cffa93ece4d4544847f839d47790f"}],"database_specific":{"extracted_events":[{"source":"REFERENCES_COMMIT","range":[{"fixed":"ed33c4ecfd2cffa93ece4d4544847f839d47790f"}]}]}}],"versions":["3.5.2","3.4.2","3.3.3","3.3.0","3.2.0","3.1.1","3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135438.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}]}