Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with Anchr account
-
DeliveryUpload HTML as spoofed-MIME image
-
ExploitStored and served from Anchr origin via /api/image/:id
-
ExecutionVictim opens link, script executes
-
ImpactExfiltrate localStorage session token, take over account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Anchr account with access to the image upload feature (PR:L). The attacker uploads an .html file while spoofing an image Content-Type to defeat the pre-3.7.2 type check, which trusted the client-supplied MIME string (regex match on req.files val.type) rather than inspecting file magic bytes; the file is then served from the Anchr origin at GET /api/image/:id. Exploitation is LIMITED by: (1) authentication is mandatory - anonymous attackers cannot reach the upload endpoint; (2) a victim must open the served image URL for the script to execute (UI:P), so it is not fully automatable; (3) only instances running a version before 3.7.2 are affected - 3.7.2 enforces magic-byte content-type detection. Impact of a successful chain is theft of the victim's localStorage session token leading to takeover of that single user's account. |
| Impact | This is a genuine but moderate-priority issue, not a drop-everything emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P, score 5.1 Medium) shows network-reachable, low-complexity exploitation but with two real brakes: the attacker needs an authenticated account (PR:L) and a victim must take action by opening the malicious link (UI:P/passive). KEV status is NO - this is not on CISA's exploited list - and no EPSS score was supplied, so widespread automated exploitation cannot be assessed from the data and should not be assumed. The vuln.today decision label is 'this_month', consistent with a Medium-severity, authenticated, user-interaction-dependent stored XSS rather than an act_now/emergency item. Impact is scoped to individual victim accounts within a niche self-hosted application, and the 4.0 vector rates both confidentiality and integrity impact as Low. Net: real, fixable risk worthy of patching within the normal cycle, not a high-CVSS-but-no-real-risk false alarm, but also not critical. Missing signal to flag: EPSS probability is absent, so exploitation likelihood is inferred only from the authenticated + user-interaction preconditions. |
| Exploit ScenarioDerived | An attacker holding any authenticated Anchr account uploads an .html file through the image upload feature while spoofing an image Content-Type, which (before 3.7.2) bypasses the MIME check that trusted the client-supplied type. The file is stored and served from the Anchr origin via GET /api/image/:id; when a victim user opens that link, the embedded script runs in Anchr's origin and steals the victim's localStorage session token, enabling account takeover. No public working exploit is identified, though the patch commit and tracking issue (#91) are public. Exploitation is low-complexity but requires the victim to open the link (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
Stored cross-site scripting in Anchr before 3.7.2 allows authenticated users to upload an .html file through the image upload feature while spoofing an image Content-Type; the file is then served from the Anchr origin at GET /api/image/:id, and its script can read a victim's localStorage session token when that victim opens the URL, leading to takeover of that single account. Exploitation requires a valid Anchr account with upload access and victim interaction, so it is not anonymous or fully automatable, and the scope is limited to instances running a version before 3.7.2. This is a genuine but moderate-priority issue rather than an emergency; no public exploit was identified at time of analysis and there is no CISA KEV confirmation of active exploitation.
RemediationAI
Vendor-released patch: upgrade Anchr to 3.7.2 or later, which replaces the client-supplied MIME check with file-type magic-byte inspection of the uploaded file and uses multer for the upload path, closing the route by which an .html file can be stored and served as same-origin HTML. The fixing commit is https://github.com/muety/anchr/commit/ed33c4ecfd2cffa93ece4d4544847f839d47790f and the related issue is https://github.com/muety/anchr/issues/91; the advisory is https://www.vulncheck.com/advisories/anchr-before-3.7.2-stored-xss-via-image-upload. Exposure before upgrading is constrained by the prerequisites in the assessment: an attacker needs an authenticated account with access to the image upload feature, and a victim must open the served image URL for the script to run, so limiting which users can reach the upload feature reduces but does not eliminate exposure; only the 3.7.2 fix removes the flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Anchr is a Node.js/Express application, and the flaw is an unrestricted-upload/dangerous-file-type issue (CWE-434) in its image upload path. Before 3.7.2 the POST / image upload route used connect-multiparty and then a filetype middleware in config/middlewares/filetype.js that validated the client-supplied MIME string (a regex match on req.files['uploadFile'].type) instead of inspecting the file's actual content. An authenticated user could therefore submit an .html file with an image Content-Type, have it stored, and get it served from the Anchr origin via GET /api/image/:id, where the browser treats it as same-origin HTML and executes script capable of reading localStorage. The fix commit ed33c4ecfd2cffa93ece4d4544847f839d47790f replaces connect-multiparty with multer, switches validation to the file-type package's fileTypeFromFile magic-byte detection against config.allowedFileTypes, and writes uploads through a temp directory derived from os.tmpdir(). The assessed CVSS:3.1 vector is AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N: network reachable, low privileges required, user interaction required, and scope changed because script runs in the Anchr origin rather than the uploader's context.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Authenticated upload (PR:L) and victim must open the link (UI:R); the stored script executes in Anchr's origin against other users, changing scope (S:C), yielding limited token/account impact (C:L/I:L, A:N).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
EUVD-2026-133331
GHSA-rp95-j4h4-jj48
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB