@haxtheweb/haxcms-nodejs
Affected
- introduced
0, fixed11.0.8(semver)
Fixed versions
11.0.8
Fix
- Fixed version
11.0.8npm install @haxtheweb/[email protected]
Advisory
Also known as: CVE-2025-54128
NodeJS version of HAX CMS Has Disabled Content Security Policy That Enables Cross-Site Scripting
Summary
The NodeJS version of HAX CMS has a disabled Content Security Policy (CSP). This configuration is insecure for a production application because it does not protect against cross-site-scripting attacks.
Details
The contentSecurityPolicy value is explicitly disabled in the application's Helmet configuration in app.js.
Affected Resources
PoC
To reproduce this vulnerability, install HAX CMS NodeJS. The application will load without a CSP configured.
Impact
In conjunction with an XSS vulnerability, an attacker could execute arbitrary scripts and exfiltrate data, including session tokens and sensitive local data.
Additional Information
High Basis: The source's own band: HIGH
0, fixed 11.0.8 (semver)11.0.8
11.0.8npm install @haxtheweb/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0