CVE-2025-54127: @haxtheweb/haxcms nodejs NodeJS Version Of HAX CMS Vulnerability
CRITICALCVE-2025-54127 is a CRITICAL nodejs version of hax cms vulnerability (CWE-1188: Initialization of a Resource with an Insecure Default) affecting @haxtheweb/haxcms nodejs libraries in the npm ecosystem. The issue involves nodejs version of hax cms has insecure default configuration that leads to unauthenticated access. Remediation is available by upgrading affected packages to version 11.0.7.
CVE-2025-54127 at a Glance
How to Fix CVE-2025-54127
To remediate this vulnerability, upgrade all affected @haxtheweb/haxcms nodejs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @haxtheweb/haxcms-nodejs@11.0.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @haxtheweb/haxcms-nodejs
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-54127, inspect your project dependencies using npm:
npm ls @haxtheweb/haxcms-nodejs
Analyze the terminal output to locate any version of @haxtheweb/haxcms nodejs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 11.0.7), your application is affected.
Note: The npm ls @haxtheweb/haxcms-nodejs command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1188: Initialization of a Resource with an Insecure Default, where the product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure. In @haxtheweb/haxcms nodejs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-54127 Affected @haxtheweb/haxcms nodejs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@haxtheweb/haxcms-nodejs
|
npm |
< 11.0.7
|
11.0.7
|
References
Frequently Asked Questions
What is CVE-2025-54127?
Which @haxtheweb/haxcms nodejs versions are affected?
What version fixes CVE-2025-54127?
Is @haxtheweb/haxcms-nodejs affected?
What CWE is associated with CVE-2025-54127?
How can I check npm dependencies for CVE-2025-54127?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f38f-jvqj-mfg6",
"modified" : "2025-07-21T22:21:21Z",
"published" : "2025-07-21T19:48:58Z",
"aliases" : [ "CVE-2025-54127" ],
"summary" : "NodeJS version of HAX CMS Has Insecure Default Configuration That Leads to Unauthenticated Access",
"details" : "### Summary\nThe NodeJS version of HAX CMS uses an insecure default configuration designed for local\ndevelopment. The default configuration does not perform authorization or authentication checks.\n\n### Details\nIf a user were to deploy haxcms-nodejs without modifying the default settings, ‘HAXCMS_DISABLE_JWT_CHECKS‘ would be set to ‘true‘ and their deployment would lack session authentication. \n\n\n\n#### Affected Resources\n- [package.json:13](https://github.com/haxtheweb/haxcms-nodejs/blob/a4d2f18341ff63ad2d97c35f9fc21af8b965248b/package.json#L13)\n\n### PoC\nTo reproduce this vulnerability, [install](https://github.com/haxtheweb/haxcms-nodejs) HAX CMS NodeJS. The application will load without JWT checks enabled. \n\n### Impact\nWithout security checks in place, an unauthenticated remote attacker could access, modify, and delete all site information.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@haxtheweb/haxcms-nodejs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "11.0.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 11.0.6"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/haxtheweb/issues/security/advisories/GHSA-f38f-jvqj-mfg6"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54127"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/haxtheweb/haxcms-nodejs"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1188" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-21T19:48:58Z",
"nvd_published_at" : "2025-07-21T21:15:26Z"
}
}