CVE-2025-54128: HAX CMS NodeJs's Disabled Content Security Policy Enables Cross-Site Scripting

Published Jul 21, 2025
·
Updated

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 - app.js:52

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 - OWASP: Content Security Policy

Other sources

HAX CMS NodeJs allows users to manage their microsite universe with a NodeJs backend. In versions 11.0.7 and below, 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. The contentSecurityPolicy value is explicitly disabled in the application's Helmet configuration in app.js. This is fixed in version 11.0.8.

— MITRE

Affected Software

2 affected componentsFixes available
npm/@haxtheweb/haxcms-nodejs<=11.0.7
11.0.8
pSu Haxcms-nodejs Node.js<11.0.8

Event History

Jul 21, 2025
Advisory Published
via GitHub·07:51 PM
Data Sourced
via GitHub·07:51 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·08:46 PM
Data Sourced
via MITRE·08:46 PM
DescriptionWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-54128?

CVE-2025-54128 is considered a high severity vulnerability due to the potential for cross-site scripting attacks.

2

How do I fix CVE-2025-54128?

To fix CVE-2025-54128, upgrade to version 11.0.8 or later of the @haxtheweb/haxcms-nodejs package.

3

What applications are affected by CVE-2025-54128?

CVE-2025-54128 affects all versions of @haxtheweb/haxcms-nodejs prior to 11.0.8.

4

What types of attacks can CVE-2025-54128 expose my application to?

CVE-2025-54128 can expose your application to cross-site scripting (XSS) attacks due to the disabled Content Security Policy.

5

Is it safe to use @haxtheweb/haxcms-nodejs without a Content Security Policy?

No, using @haxtheweb/haxcms-nodejs without a Content Security Policy is unsafe and increases the risk of XSS vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203