CVE-2026-135438
Anchr before 3.7.2 Stored XSS via Image Upload
Medium · 5.1Fix available
- CVSS
- 5.1
- EPSS
- 0.30% (p15)
- Published
- 2026-11-23
- Age
- 6d old
- Modified
- 2026-11-23
- Product
- muety Anchr
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
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.
Fixed in
3.7.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Anchr | >=0, <3.7.2 | 3.7.2 |
Sources
- NVD · first seen 6d ago · NVD terms of use
- OSV · first seen 4d ago · CC-BY 4.0
- CVE List · first seen 6d ago · CVE Terms of Use
References
- https://github.com/muety/anchr/issues/91 issue-tracking
- https://github.com/muety/anchr/commit/ed33c4ecfd2cffa93ece4d4544847f839d47790f patch
- https://github.com/muety/anchr/blob/3.5.2/config/middlewares/filetype.js technical-description
- https://github.com/muety/anchr/blob/3.5.2/app/controllers/image.js#L46 technical-description
- https://www.vulncheck.com/advisories/anchr-before-3.7.2-stored-xss-via-image-upload third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135438.json advisory
- https://github.com/muety/anchr package
- https://nvd.nist.gov/vuln/detail/CVE-2026-135438 advisory