CVE-2025-54378: HAX CMS API authorization bypass

CVE-2025-54378 · Severity: low · CVSS 3.1 · Published 2025-07-25

HAX CMS is a content management system that uses API endpoints to manage sites and content. An authenticated attacker can bypass authorization checks to access, modify, or delete other users' sites and content, and potentially access sensitive configuration files containing credentials.

Technologies: @haxtheweb/haxcms-nodejs (npm), elmsln/haxcms (Packagist). Vendors: npm, Packagist.

Quick answers

Is CVE-2025-54378 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-54378 being exploited in the wild.
How severe is CVE-2025-54378?
Low severity, with a CVSS score of 3.1, published 25 July 2025.
Which products and versions are affected?
@haxtheweb/haxcms-nodejs (npm) SEMVER:introduced=0,fixed=11.0.14; elmsln/haxcms (Packagist) ECOSYSTEM:introduced=0,fixed=11.0.14.
Is there a fix for CVE-2025-54378?
Yes. @haxtheweb/haxcms-nodejs (npm): upgrade to 11.0.14 or later; elmsln/haxcms (Packagist): upgrade to 11.0.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-54378 attacked?
It is attacked over the network.
Am I affected by CVE-2025-54378?
Check whether you run @haxtheweb/haxcms-nodejs (npm) or elmsln/haxcms (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • @haxtheweb/haxcms-nodejs (npm): upgrade to 11.0.14 or later
    npm install @haxtheweb/haxcms-nodejs@11.0.14
  • elmsln/haxcms (Packagist): upgrade to 11.0.14 or later
    composer require elmsln/haxcms:^11.0.14

Technical details

The HAX CMS API endpoints verify user authentication (via JWT) but fail to check authorization before performing operations on resources. Multiple API functions (createNode, saveNode, deleteNode, listSites, createSite, getConfig, cloneSite, deleteSite, downloadSite, archiveSite) lack proper access control, allowing any authenticated user to interact with any resource. Attack requires valid authentication credentials but no special privileges. An authenticated attacker can enumerate, modify, or delete arbitrary sites and nodes belonging to other users, and access the application configuration which may contain cleartext credentials. Patches are available: version 11.0.14 for the Node.js version and 11.0.9 for the PHP version.

Affected products

  • HAX CMS <=11.0.5 (Node.js version); <=11.0.5 (PHP version)
  • HAX haxcms-nodejs <=11.0.5
  • HAX haxcms-php <=11.0.5

Identifiers

  • CVE-2025-54378
  • GHSA-9jr9-8ff3-m894

Timeline

  • 2025-07-25: disclosed: Advisory published
  • 2025-07-25: patched: Node.js version patched to 11.0.14

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.