CVE-2025-54134: HAX CMS NodeJS Application Has Improper Error Handling That Leads to Denial of Service
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.
Published Jul 21, 2025
Affected packages
@haxtheweb/haxcms-nodejs
- Ecosystem
- npm
- Affected
- < 11.0.9
- Fixed in
- 11.0.9
- Check
npm ls @haxtheweb/haxcms-nodejs
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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 listFiles() • saveFile.js:52 saveFile() • system/api/listFiles • system/api/saveFile
PoC
- Targeting an instance of instance of HAX CMS NodeJS, send a request without parameters to
listFilesorsaveFiles. The following screenshot shows the request in Burp Suite.
listfilesrequest
- The server will crash with
ERR_INVALID_ARG_TYPE.
listfilescrash
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.
Credited to asareynolds.
References
- https://github.com/haxtheweb/issues/security/advisories/GHSA-pjj3-j5j6-qj27
- https://github.com/haxtheweb/haxcms-nodejs/commit/e9773d1996233f9bafb06832b8220ec2a98bab34
- https://nvd.nist.gov/vuln/detail/CVE-2025-54134
- https://github.com/haxtheweb/haxcms-nodejs/blob/main/src/routes/listFiles.js#L22
- https://github.com/haxtheweb/haxcms-nodejs/blob/main/src/routes/saveFile.js#L52
- https://github.com/advisories/GHSA-pjj3-j5j6-qj27
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-48527
HaxCMS has a stored Cross-Site Scripting (XSS) bypass in its saveNode endpoint
high8.7May 29, 2026CVE-2026-46357
HAX CMS: Denial of Service using Malicious Import Request
medium6.5May 19, 2026CVE-2026-46393
HAXcms createSite SSRF Enables Arbitrary File Read
high7.1May 19, 2026CVE-2026-46395
HAXcms: Private Key Disclosure via Broken HMAC Implementation
critical9.3May 19, 2026CVE-2026-46396
Stored XSS via <iframe> in HAX CMS allows access to sensitive client-side data and account takeover
high8.6May 19, 2026CVE-2026-46496
HAX CMS: Stored XSS via '<video-player>' component allows arbitrary JavaScript execution and token theft
medium5.1May 19, 2026
