CVE-2025-54378: HAX CMS API Lacks Authorization Checks
Summary
The 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.
Details
The API endpoints within the HAX CMS application check if a user is authenticated, but don't check for authorization before performing an operation.
Affected Resources
- Operations.php: 760 createNode() - Operations.php: 868 saveNode() - Operations.php: 1171 deleteNode() - Operations.php: 1789 listSites() - Operations.php: 1890 createSite() - Operations.php: 2196 getConfig() - Operations.php: 2389 cloneSite() - Operations.php: 2467 deleteSite() - Operations.php: 2524 downloadSite() - Operations.php: 2607 archiveSite()
Note: This may not include all affected endpoints within the application.
Impact
An 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.
Additionally, an authenticated attacker can use the 'getConfig' endpoint to pull the application's configuration, which may store cleartext credentials.
PoC - /deleteNode
1. Browse to the 'site.json' file for a target site, and note the ID of the item to delete.
!image
2. Make a POST request to the 'deleteNode' endpoint with a valid JWT and the target object ID.
!image
Site before editing:
!image
Site after editing:
!image
Other sources
HAX CMS allows you to manage your microsite universe with PHP or NodeJs backends. In versions 11.0.13 and below of haxcms-nodejs and versions 11.0.8 and below of haxcms-php, 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. The API endpoints within the HAX CMS application check if a user is authenticated, but don't check for authorization before performing an operation. This is fixed in versions 11.0.14 of haxcms-nodejs and 11.0.9 of haxcms-php.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/elmsln/haxcmsto a version that resolves this vulnerability.Fixed in 11.0.14 - Upgrade
Upgrade
npm/@haxtheweb/haxcms-nodejsto a version that resolves this vulnerability.Fixed in 11.0.14 - Upgrade
Upgrade
haxcms-nodejsto a version that resolves this vulnerability.Fixed in 11.0.14 - Upgrade
Upgrade
haxcms-phpto a version that resolves this vulnerability.Fixed in 11.0.9
Event History
Frequently Asked Questions
What is the severity of CVE-2025-54378?
CVE-2025-54378 is classified as a high-severity vulnerability due to inadequate authorization checks in HAX CMS.
How do I fix CVE-2025-54378?
To address CVE-2025-54378, ensure that all API endpoints validate user permissions for resource interactions.
What software versions are affected by CVE-2025-54378?
CVE-2025-54378 affects versions of HAX CMS up to and including 11.0.14 for both JavaScript and PHP implementations.
What types of attacks can CVE-2025-54378 enable?
CVE-2025-54378 can enable unauthorized access to resources since the lack of authorization checks can allow malicious users to perform restricted actions.
Is there a known exploit for CVE-2025-54378?
As of now, there have been no publicly disclosed exploits specifically targeting CVE-2025-54378, but the vulnerability presents significant risk due to its nature.