# CVE-2026-135438: Anchr before 3.7.2 Stored XSS via Image Upload

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-11-23T17:57:15.988Z
- Modified: 2026-11-23T22:20:14.387Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- muety Anchr: before 3.7.2

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## 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)

## Sources

- CVE List: [CVE-2026-135438](https://www.cve.org/CVERecord?id=CVE-2026-135438), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-135438](https://nvd.nist.gov/vuln/detail/CVE-2026-135438), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-135438 · Whole record: https://cve.day/CVE-2026-135438.json · Rebuilt by cve.day 2026-11-25T22:59:52.693Z
