ghsa-59g8-h59f-8hjp
Vulnerability from github
Published
2025-07-21 19:51
Modified
2025-07-21 22:21
Severity ?
VLAI Severity ?
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
.
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
{ "affected": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 11.0.7" }, "package": { "ecosystem": "npm", "name": "@haxtheweb/haxcms-nodejs" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "11.0.8" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-54128" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2025-07-21T19:51:14Z", "nvd_published_at": "2025-07-21T21:15:26Z", "severity": "HIGH" }, "details": "### Summary\nThe 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.\n\n### Details\nThe `contentSecurityPolicy` value is explicitly disabled in the application\u0027s Helmet configuration in `app.js`.\n\n\n\n#### Affected Resources\n- [app.js:52](https://github.com/haxtheweb/haxcms-nodejs/blob/b1f95880b42fea6ed07855b5804b29b182ec5e07/src/app.js#L52)\n\n### PoC\nTo reproduce this vulnerability, [install](https://github.com/haxtheweb/haxcms-nodejs) HAX CMS NodeJS. The application will load without a CSP configured.\n\n### Impact\nIn conjunction with an XSS vulnerability, an attacker could execute arbitrary scripts and exfiltrate data, including session tokens and sensitive local data.\n\n#### Additional Information\n- [OWASP: Content Security Policy](https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html)", "id": "GHSA-59g8-h59f-8hjp", "modified": "2025-07-21T22:21:25Z", "published": "2025-07-21T19:51:14Z", "references": [ { "type": "WEB", "url": "https://github.com/haxtheweb/issues/security/advisories/GHSA-59g8-h59f-8hjp" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-54128" }, { "type": "WEB", "url": "https://github.com/haxtheweb/haxcms-nodejs/commit/ddb9351c6d6418008d4084a5b17fd6d611bc4e30" }, { "type": "PACKAGE", "url": "https://github.com/haxtheweb/haxcms-nodejs" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:N", "type": "CVSS_V4" } ], "summary": "NodeJS version of HAX CMS Has Disabled Content Security Policy That Enables Cross-Site Scripting" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…