CVE-2025-54134: Denial of Service in @haxtheweb/haxcms-nodejs Due to Improper Error Handling
Summary
CVE-2025-54134: HAX CMS NodeJS Application Has Improper Error Handling That Leads to Denial of Service. Affects @haxtheweb/haxcms-nodejs versions < 11.0.9. Fixed in 11.0.9. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The @haxtheweb/haxcms-nodejs package is a Node.js application designed for managing content in the HAX CMS framework. It provides various API endpoints for file management, including listing and saving files. This package is widely used in web applications that require a content management system. However, it is vulnerable to a Denial of Service (DoS) attack due to improper handling of URL parameters in specific API requests.
Vulnerability Detail
The vulnerability arises from the application's failure to properly handle exceptions when required URL parameters are missing in API requests to the 'listFiles' and 'saveFiles' endpoints. An authenticated attacker can exploit this flaw by sending requests without the necessary parameters, causing the application to crash with an 'ERR_INVALID_ARG_TYPE' error. This results in a denial of service, preventing all users from accessing the backend system, which can severely impact any websites hosted by the application.
How To Fix
Minimum fixed version
11.0.9
This is the first release that contains the fix.
npm install @haxtheweb/haxcms-nodejs@11.0.9
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, ensure that all API requests to the 'listFiles' and 'saveFiles' endpoints include the required URL parameters. This can be done by validating the parameters before making the request, thus avoiding the crash. For example, check for the presence of parameters in your request code before proceeding with the API call.
Conclusion
The CVE-2025-54134 vulnerability in the @haxtheweb/haxcms-nodejs package poses a significant risk of denial of service due to improper error handling. It is crucial for users of this package to update to the latest version to mitigate this risk and ensure the stability of their applications.
See every vulnerability recorded for @haxtheweb/haxcms-nodejs →
FAQ
CVE-2025-54134 is a vulnerability in the @haxtheweb/haxcms-nodejs package that allows authenticated attackers to crash the application by sending requests without required URL parameters.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor for open-source vulnerabilities without requiring any signup.
The vulnerability can lead to a denial of service, making the backend system inaccessible to all users, which can disrupt any websites hosted by the application.
You can update the package by running the command 'npm install @haxtheweb/haxcms-nodejs@11.0.9' in your terminal to ensure you have the patched version.
Yes, validating API requests to ensure all required parameters are included can help prevent the application from crashing due to this vulnerability.
References
Related vulnerabilities
Recent vulnerabilities recorded for @haxtheweb/haxcms-nodejs.