GHSA-pjj3-j5j6-qj27
HAX CMS NodeJS Application Has Improper Error Handling That Leads to Denial of Service
Quick fix
GHSA-pjj3-j5j6-qj27 — @haxtheweb/haxcms-nodejs: upgrade to the fixed version with the command below.
npm install @haxtheweb/haxcms-nodejs@11.0.9Details
### Summary The HAX CMS NodeJS application crashes when an authenticated attacker provides an API request lacking required URL parameters. This vulnerability affects the `listFiles` and `saveFiles` endpoints.
### Details This vulnerability exists because the application does not properly handle exceptions which occur as a result of changes to user-modifiable URL parameters.
#### Affected Resources • [listFiles.js:22](https://github.com/haxtheweb/haxcms-nodejs/blob/main/src/routes/listFiles.js#L22) listFiles() • [saveFile.js:52](https://github.com/haxtheweb/haxcms-nodejs/blob/main/src/routes/saveFile.js#L52) saveFile() • system/api/listFiles • system/api/saveFile
### PoC 1. Targeting an instance of instance of [HAX CMS NodeJS](https://github.com/haxtheweb/haxcms-nodejs), send a request without parameters to `listFiles` or `saveFiles`. The following screenshot shows the request in Burp Suite. 
2. The server will crash with `ERR_INVALID_ARG_TYPE`. 
### Impact An authenticated attacker can deny access to the HAX CMS NodeJS application by crashing the backend server. This prevents all users from accessing the backend system. If the backend system is hosting websites, those websites will be unavailable.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 11.0.9npm install @haxtheweb/haxcms-nodejs@11.0.9References
- https://github.com/haxtheweb/issues/security/advisories/GHSA-pjj3-j5j6-qj27[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-54134[ADVISORY]
- https://github.com/haxtheweb/haxcms-nodejs/commit/e9773d1996233f9bafb06832b8220ec2a98bab34[WEB]
- https://github.com/haxtheweb/haxcms-nodejs[PACKAGE]
- https://github.com/haxtheweb/haxcms-nodejs/blob/main/src/routes/listFiles.js#L22[WEB]
- https://github.com/haxtheweb/haxcms-nodejs/blob/main/src/routes/saveFile.js#L52[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/%40haxtheweb/haxcms-nodejs"]}'