Advisory

GHSA-9jr9-8ff3-m894

Also known as: CVE-2025-54378

Summary

HAX CMS API Lacks Authorization Checks

Details

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

_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

  1. 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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-07-25 20:10 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

@haxtheweb/haxcms-nodejs

npm · All systems

Affected

  • introduced 0, fixed 11.0.14 (semver)

Fixed versions

11.0.14

Fix

elmsln/haxcms

Packagist · All systems

Affected

  • introduced 0, fixed 11.0.14 (ecosystem)

Fixed versions

11.0.14

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences