Advisory

GHSA-59g8-h59f-8hjp

Also known as: CVE-2025-54128

Summary

NodeJS version of HAX CMS Has Disabled Content Security Policy That Enables Cross-Site Scripting

Details

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.

permissive-csp-code

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-07-21 19:51 UTC
Modified
2025-07-21 22:21 UTC

Affected packages and fixes

@haxtheweb/haxcms-nodejs

npm · All systems

Affected

  • introduced 0, fixed 11.0.8 (semver)

Fixed versions

11.0.8

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences