CVE-2025-54137: NodeJS version of the HAX CMS application is distributed with Default Secrets
Summary The NodeJS version of the HAX CMS application is distributed with hardcoded default credentials for the user and superuser accounts. Additionally, the application has default private keys for JWTs. Users aren't prompted to change credentials or secrets during installation, and there is no way to change them through the UI.
Published Jul 21, 2025 · Updated Jul 23, 2025
Affected packages
@haxtheweb/haxcms-nodejs
- Ecosystem
- npm
- Affected
- < 11.0.10
- Fixed in
- 11.0.10
- Check
npm ls @haxtheweb/haxcms-nodejs
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The NodeJS version of the HAX CMS application is distributed with hardcoded default credentials for the user and superuser accounts. Additionally, the application has default private keys for JWTs. Users aren't prompted to change credentials or secrets during installation, and there is no way to change them through the UI.
Affected Resources
- HAXCMS.js HAXCMSClass
Impact
An unauthenticated attacker can read the default user credentials and JWT private keys from the public haxtheweb GitHub repositories. These credentials and keys can be used to access unconfigured self-hosted instances of the application, modify sites, and perform further attacks.
Credited to lfgberg, asareynolds.
References
- https://github.com/haxtheweb/issues/security/advisories/GHSA-5fpv-5qvh-7cf3
- https://github.com/haxtheweb/haxcms-nodejs/commit/6dc2441c876350ca6fe9fbaecb058d92ef442869
- https://github.com/haxtheweb/haxcms-nodejs/blob/main/src/lib/HAXCMS.js#L1614
- https://nvd.nist.gov/vuln/detail/CVE-2025-54137
- https://github.com/advisories/GHSA-5fpv-5qvh-7cf3
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
