CVE-2026-135438
published medium CVSS 4.0 · 5.1Anchr before 3.7.2 Stored XSS via Image Upload
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| muety | — | Anchr0 to < 3.7.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| muety | Anchr | 0 to < 3.7.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-434 Unrestricted Upload of File with Dangerous Type
References
5- https://github.com/muety/anchr/blob/3.5.2/app/controllers/image.js#L46
- https://github.com/muety/anchr/blob/3.5.2/config/middlewares/filetype.js
- https://github.com/muety/anchr/commit/ed33c4ecfd2cffa93ece4d4544847f839d47790f
- https://github.com/muety/anchr/issues/91
- VulnCheck Advisory: Anchr before 3.7.2 Stored XSS via Image Upload https://www.vulncheck.com/advisories/anchr-before-3.7.2-stored-xss-via-image-upload
Provider assertions
2VulnCheck · cna
Anchr before 3.7.2 Stored XSS via Image Upload
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 92b4ac3021846dab6cd67ab321412377d3878d4b5b353b502148364413ab9ca7
- Ingested
- 23 Nov 2026, 21:34:00 UTC
- Source record
- Official CVE record