CVE-2026-135438

medium

Description

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.

References

https://www.vulncheck.com/advisories/anchr-before-3.7.2-stored-xss-via-image-upload

https://github.com/muety/anchr/issues/91

https://github.com/muety/anchr/commit/ed33c4ecfd2cffa93ece4d4544847f839d47790f

https://github.com/muety/anchr/blob/3.5.2/config/middlewares/filetype.js

https://github.com/muety/anchr/blob/3.5.2/app/controllers/image.js#L46

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-133331

Details

Source: Mitre, NVD

Published: 2026-11-23

Updated: 2026-11-23

CVSS v3

Base Score: 5.4

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 5.1

Vector: 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

Severity: Medium