Skip to main content

HAXcms Node.js EUVDEUVD-2026-145703

| CVE-2026-145575 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-12-05 VulnCheck GHSA-c9mg-p65f-j9jv
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with uploadMedia permission
  2. Delivery
    Upload HTML file containing script
  3. Exploit
    Send victim percent-encoded /files/evil%2ehtml link
  4. Execution
    Guard bypassed, served inline as text/html
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

haxcms-nodejs 25.0.0 <26.11.0

Affected Packages

euvd haxcms_nodejs fix: 26.11.0

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

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

Prevalence
Low
niche open-source CMS, limited enterprise deployment footprint
Social Media
2
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy