GHSA-9jr9-8ff3-m894

Suggest an improvement
Source
https://github.com/advisories/GHSA-9jr9-8ff3-m894
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-9jr9-8ff3-m894/GHSA-9jr9-8ff3-m894.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-9jr9-8ff3-m894
Aliases
Related
Published
2025-07-25T20:10:22Z
Modified
2025-07-28T13:34:14.313106Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H CVSS Calculator
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

Database specific
{
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-07-25T20:10:22Z",
    "nvd_published_at": "2025-07-26T04:16:05Z",
    "cwe_ids": [
        "CWE-285",
        "CWE-862"
    ]
}
References

Affected packages

npm / @haxtheweb/haxcms-nodejs

Package

Name
@haxtheweb/haxcms-nodejs
View open source insights on deps.dev
Purl
pkg:npm/%40haxtheweb/haxcms-nodejs

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
11.0.14

Packagist / elmsln/haxcms

Package

Name
elmsln/haxcms
Purl
pkg:composer/elmsln/haxcms

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
11.0.14

Affected versions

0.*

0.0.1
0.1.0
0.2.0
0.3.0
0.4.0
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
0.11.0
0.12.0
0.12.1
0.12.2
0.12.3