CVE-2025-54127: @haxtheweb/haxcms nodejs NodeJS Version Of HAX CMS Vulnerability

CRITICAL
Advisory Identifier: GHSA-f38f-jvqj-mfg6
CWE-1188
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-54127
GHSA Identifier GHSA-f38f-jvqj-mfg6
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-1188: Initialization of a Resource with an Insecure Default
Affected Product @haxtheweb/haxcms nodejs
Package Ecosystem npm
Published Date
Last Updated

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.

@haxtheweb/haxcms-nodejs fixed: 11.0.7
npm install @haxtheweb/haxcms-nodejs@11.0.7
Verify Direct and Transitive Dependencies

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

### Summary The NodeJS version of HAX CMS uses an insecure default configuration designed for local development. The default configuration does not perform authorization or authentication checks. ### Details If 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. ![insecure-default-configuration-code](https://github.com/user-attachments/assets/af58b08a-8a26-4ef5-8deb-e6e9d4efefaa) #### Affected Resources - [package.json:13](https://github.com/haxtheweb/haxcms-nodejs/blob/a4d2f18341ff63ad2d97c35f9fc21af8b965248b/package.json#L13) ### PoC To reproduce this vulnerability, [install](https://github.com/haxtheweb/haxcms-nodejs) HAX CMS NodeJS. The application will load without JWT checks enabled. ### Impact Without security checks in place, an unauthenticated remote attacker could access, modify, and delete all site information.

CVE-2025-54127 Affected @haxtheweb/haxcms nodejs Versions

1 component(s)
Fixed Versions:
11.0.7
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?
CVE-2025-54127 is a security vulnerability in @haxtheweb/haxcms nodejs involving NodeJS version of HAX CMS Has Insecure Default Configuration That Leads to Unauthenticated Access under CWE-1188: Initialization of a Resource with an Insecure Default.
Which @haxtheweb/haxcms nodejs versions are affected?
Affected versions include releases prior to 11.0.7 across affected packages: @haxtheweb/haxcms-nodejs.
What version fixes CVE-2025-54127?
Upgrading to 11.0.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @haxtheweb/haxcms-nodejs affected?
Yes, @haxtheweb/haxcms-nodejs is affected in releases prior to 11.0.7. Upgrade your dependency to 11.0.7 or later.
What CWE is associated with CVE-2025-54127?
CVE-2025-54127 is classified under CWE-1188: Initialization of a Resource with an Insecure Default (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.).
How can I check npm dependencies for CVE-2025-54127?
Run the dependency tree command: 'npm ls @haxtheweb/haxcms-nodejs'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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![insecure-default-configuration-code](https://github.com/user-attachments/assets/af58b08a-8a26-4ef5-8deb-e6e9d4efefaa)\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"
  }
}