CVE-2025-54378: Elmsln/haxcms HAX CMS API Lacks Authorization Vulnerability
HIGHCVE-2025-54378 is a HIGH (CVSS 8.3) hax cms api lacks authorization vulnerability (CWE-862: Missing Authorization) affecting Elmsln/haxcms libraries in the Packagist ecosystem. The issue involves hax cms api lacks authorization checks. Remediation is available by upgrading affected packages to version 11.0.14.
CVE-2025-54378 at a Glance
Security Impact
CVSS: 8.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H).
How to Fix CVE-2025-54378
To remediate this vulnerability, upgrade all affected Elmsln/haxcms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade elmsln/haxcms to 11.0.14
npm install @haxtheweb/haxcms-nodejs@11.0.14
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for elmsln/haxcms
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-54378, inspect your project dependencies for Elmsln/haxcms:
inspect dependencies for elmsln/haxcms
Analyze the terminal output to locate any version of Elmsln/haxcms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 11.0.14), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Elmsln/haxcms, 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-54378 Affected Elmsln/haxcms Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
elmsln/haxcms
|
Packagist |
< 11.0.14
|
11.0.14
|
|
@haxtheweb/haxcms-nodejs
|
npm |
< 11.0.14
|
11.0.14
|
References
Frequently Asked Questions
What is CVE-2025-54378?
Which Elmsln/haxcms versions are affected?
What version fixes CVE-2025-54378?
Is elmsln/haxcms affected?
Is @haxtheweb/haxcms-nodejs affected?
What is the CVSS score of CVE-2025-54378?
What CWE is associated with CVE-2025-54378?
How can I check Packagist dependencies for CVE-2025-54378?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9jr9-8ff3-m894",
"modified" : "2025-07-28T13:04:31Z",
"published" : "2025-07-25T20:10:22Z",
"aliases" : [ "CVE-2025-54378" ],
"summary" : "HAX CMS API Lacks Authorization Checks",
"details" : "### Summary\n\nThe HAX CMS API endpoints do not perform authorization checks when interacting with a resource. Both the JS and PHP versions of the CMS do not verify that a user has permission to interact with a resource before performing a given operation.\n\n### Details\n\nThe API endpoints within the HAX CMS application check if a user is authenticated, but don't check for authorization before performing an operation.\n\n#### Affected Resources\n\n- [Operations.php: 760](https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/Operations.php#L760) `createNode()`\n- [Operations.php: 868](https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/Operations.php#L868) `saveNode()`\n- [Operations.php: 1171](https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/Operations.php#L1171) `deleteNode()`\n- [Operations.php: 1789](https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/Operations.php#L1789) `listSites()`\n- [Operations.php: 1890](https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/Operations.php#L1890) `createSite()`\n- [Operations.php: 2196](https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/Operations.php#L2195) `getConfig()`\n- [Operations.php: 2389](https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/Operations.php#L2389) `cloneSite()`\n- [Operations.php: 2467](https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/Operations.php#L2467) `deleteSite()`\n- [Operations.php: 2524](https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/Operations.php#L2524) `downloadSite()`\n- [Operations.php: 2607](https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/Operations.php#L2606) `archiveSite()`\n\n\n_Note: This may not include all affected endpoints within the application._\n\n### Impact\n\nAn authenticated attacker can make requests to interact with other users' sites. This can be used to enumerate, modify, and delete other users' sites and nodes.\n\nAdditionally, an authenticated attacker can use the 'getConfig' endpoint to pull the application's configuration, which may store cleartext credentials.\n\n### PoC - /deleteNode\n\n1. Browse to the 'site.json' file for a target site, and note the ID of the item to delete.\n\n\n\n2. Make a POST request to the 'deleteNode' endpoint with a valid JWT and the target object ID.\n\n\n\nSite before editing:\n\n\n\nSite after editing:\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@haxtheweb/haxcms-nodejs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "11.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "elmsln/haxcms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "11.0.14"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/haxtheweb/issues/security/advisories/GHSA-9jr9-8ff3-m894"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54378"
}, {
"type" : "WEB",
"url" : "https://github.com/haxtheweb/haxcms-nodejs/commit/5826e9b7f3d8c7c7635411768b86b199fad36969"
}, {
"type" : "WEB",
"url" : "https://github.com/haxtheweb/haxcms-php/commit/24d30222481ada037597c4d7c0a51a1ef7af6cfd"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-285", "CWE-862" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-25T20:10:22Z",
"nvd_published_at" : "2025-07-26T04:16:05Z"
}
}