CVE-2026-135438
CVE-2026-135438 · Anchr before 3.7.2 Stored XSS via Image Upload
CVSS 5.1 · Medium · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- anchrUpdate to 3.7.2
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
anchr
- Versions
- ≥ 0, < 3.7.2: Affected (semver)
Update to 3.7.2
Original sources
- 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://www.vulncheck.com/advisories/anchr-before-3.7.2-stored-xss-via-image-upload
- https://nvd.nist.gov/vuln/detail/CVE-2026-135438