Anchr before 3.7.2 Stored XSS via Image Upload
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 23, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 23, 2026
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.
| Product | Versions |
|---|---|
| Anchr muety | before 3.7.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
- https://github.com/muety/anchr/issues/91Issue Tracker
- https://github.com/muety/anchr/commit/ed33c4ecfd2cffa93ece4d4544847f839d47790fPatch
- https://github.com/muety/anchr/blob/3.5.2/config/middlewares/filetype.jsTechnical Details
- https://github.com/muety/anchr/blob/3.5.2/app/controllers/image.js#L46Technical Details
- VulnCheck Advisory: Anchr before 3.7.2 Stored XSS via Image UploadThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.