Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with uploadMedia permission
-
DeliveryUpload HTML file containing script
-
ExploitSend victim percent-encoded /files/evil%2ehtml link
-
ExecutionGuard bypassed, served inline as text/html
-
ImpactScript executes in HAXcms origin under victim session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated HAXcms account holding the uploadMedia permission to place the malicious HTML file, and a victim who is induced to open the attacker-supplied percent-encoded URL (e.g. /files/evil%2ehtml or /fi%6ces/evil.html). The specific flaw is that the files/ HTML force-download guard matches the raw request URL for the /files/ prefix and an .html suffix, while the static-file handler percent-decodes the path before resolving it to disk, so an encoded path bypasses the attachment guard and is served inline as text/html; successful script execution additionally depends on the site's CSP permitting inline scripts, which the advisory states it does. Limiting factors: no unauthenticated upload path, required media-upload privilege, required victim interaction with a crafted encoded link, and impact confined to the HAXcms origin - no token theft or account takeover is claimed. |
| Impact | This is a moderate-severity stored XSS (CVSS 4.0 base 5.1; vendor 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) whose real-world risk is constrained by two independent requirements rather than raw network reachability. The vector is network (AV:N) with low complexity (AC:L), but PR:L means the attacker must already hold an authenticated account carrying the uploadMedia permission, and UI:P means a victim must actively open the malicious encoded URL - so this is not a drive-by, unauthenticated, wormable condition. It is not listed in CISA KEV, so there is no confirmed active exploitation, and no EPSS score was supplied, so widespread-exploitation probability cannot be quantified from the input. A public PoC reference exists in the GHSA advisory (it demonstrates the guard bypass and inline text/html response), but it is not verified as working browser-execution exploit code - the advisory explicitly states browser script execution was not directly tested, only the HTTP response behavior was reproduced. The vuln.today decision label is this_month, consistent with a patch-this-month priority rather than an emergency. Net: a genuine, verifiable confidentiality/integrity weakness in authenticated multi-user HAXcms deployments, but the privilege and user-interaction prerequisites plus limited (Low) technical impact keep it below the tier of a high-priority internet-facing emergency. |
| Exploit ScenarioDerived | An attacker who holds (or phishes/registers) a HAXcms account with media-upload permission uploads an HTML file containing a script payload, then sends a logged-in victim a percent-encoded link such as /files/evil%2ehtml. Because the download guard inspects the raw request URL while the static handler decodes the path before serving, the file is returned inline as text/html instead of as an attachment, and - given the site's CSP permits inline scripts - the script runs in the HAXcms origin under the victim's session. A public PoC reference in the GHSA advisory confirms the guard-bypass response behavior, though actual browser execution was not directly verified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 05, 2026
Stored cross-site scripting in HAXcms Node.js affects releases from 25.0.0 up to and including 26.8.2, and is fixed in 26.11.0. An authenticated user holding the uploadMedia permission can upload an HTML file and then lure a victim to a percent-encoded path such as /files/evil%2ehtml or /fi%6ces/evil.html; because the /files/ HTML force-download guard inspects the raw URL while the static-file handler decodes it, the file is returned inline as text/html and can execute script in the HAXcms origin under the victim's session context. The vendor advisory documents request-level proof-of-concept responses, but browser script execution was not directly tested, so a public PoC reference exists; it is not verified as working exploit code. Exploitation is not recorded in CISA KEV, and the risk is bounded by the required upload privilege and the required victim interaction, with impact confined to the HAXcms origin.
RemediationAI
Vendor-released patch: upgrade @haxtheweb/haxcms-nodejs to 26.11.0 (release https://github.com/haxtheweb/haxcms-nodejs/releases/tag/v26.11.0), which is the complete fix; the underlying changes are in commits 15cb9613e0f24ed09b47ca4bd978a13e6c018684 and 24775b35d125f417d11c716d4bb023c091eda5e0 and move the force-download decision onto the decoded path while extending it to html, htm, xhtml, xml and svg. Where upgrading immediately is not possible, compensating controls are: restrict the uploadMedia permission to a small set of trusted accounts, since the exploit requires an authenticated uploader to place the HTML file (trade-off: editorial workflows that depend on contributor media uploads must be reassigned to trusted editors); block or normalize requests whose /files/ path contains percent-encoded characters at a fronting proxy before they reach Node.js, rejecting encoded dot/extension and encoded segment names (trade-off: legitimate clients that double-encode file names will fail, and the rule must be written on the decoded path or it is bypassable in the same way as the original guard); and tighten the site Content Security Policy so inline script is not permitted in the HAXcms origin, which removes the stated execution path (trade-off: the advisory notes the current CSP allows inline scripts, so inline script in hosted content will break). Disabling media uploads entirely, or serving the /files/ directory through a proxy that unconditionally attaches Content-Disposition: attachment plus X-Content-Type-Options: nosniff for all active-content types, are fallbacks with the same availability costs.
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
HAXcms Node.js is an Express-based Node.js web publishing platform (npm package @haxtheweb/haxcms-nodejs) that serves uploaded media from a /files/ path. The flaw is a path-interpretation mismatch, classified CWE-79: a middleware guard around the lines that previously contained req.url.includes('/files/') and /\.html?$/i tested the raw, still percent-encoded request URL, whereas the downstream send/static-file handler percent-decodes the path before resolving it on disk. Encoding either the /files/ segment or the .html extension therefore skips the guard's attachment decision, and the file is delivered with Content-Type text/html and no Content-Disposition: attachment header. Per the advisory, the site's Content Security Policy permits inline scripts, which is what makes the inline HTML response a viable execution path in the browser; the advisory notes that script execution in a browser was inferred from the inline response and CSP and was not directly verified, and that no unauthenticated upload, token theft or account takeover is claimed. The upstream fix computes the force-download decision on the decoded path and broadens it beyond .html to every active-content extension in its PHP parity contract (html, htm, xhtml, xml, svg) via uploadSecurity.shouldForceDownloadFilesRequest, with X-Content-Type-Options: nosniff set on every response by helmet; the same commit series also adds upload temp-file lifecycle handling and reworks system-v1 route authentication.
Know when Node.js gets its next vulnerability
- 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 uploadMedia account needed (PR:L) and victim must open the crafted link (UI:R); stored script runs in a different security context (S:C) with limited confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
HAXcms Node.js 25.0.0 before 26.11.0 contains a stored cross-site scripting vulnerability that allows authenticated users with media upload permission to bypass the files/ HTML download guard using percent-encoded paths. Attackers can upload an HTML file containing script and send victims links like /files/evil%2ehtml, which are served inline as text/html, executing script in the HAXcms origin with the victim's session context.
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.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-145703
GHSA-c9mg-p65f-j9jv
NVD
CVE.org
Exploit-DB