# CVE-2025-54139: HAX CMS clickjacking vulnerability

Source: https://junglewise.ai/threats/cve-2025-54139-hax-cms-clickjacking-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-07-21. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2025-54139 · Severity: low · CVSS 3.1 · Published 2025-07-21

HAX CMS is a content management system used to build and manage web applications. The application lacks protections against clickjacking, a technique where attackers embed a web page inside an invisible iframe to trick users into clicking hidden elements. This could allow attackers to conduct social engineering attacks targeting the login page or other sensitive functions, potentially leading to unauthorized account access or unintended actions by legitimate users.

Technologies: [@haxtheweb/haxcms-nodejs (npm)](https://junglewise.ai/threats/technologies/haxtheweb-haxcms-nodejs), [elmsln/haxcms (Packagist)](https://junglewise.ai/threats/technologies/elmsln-haxcms). Vendors: [npm](https://junglewise.ai/threats/vendors/npm), [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2025-54139 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-54139 being exploited in the wild.

**How severe is CVE-2025-54139?** Low severity, with a CVSS score of 3.1, published 21 July 2025.

**Which products and versions are affected?** @haxtheweb/haxcms-nodejs (npm) SEMVER:introduced=0,fixed=11.0.13; elmsln/haxcms (Packagist) ECOSYSTEM:introduced=0,fixed=11.0.8.

**Is there a fix for CVE-2025-54139?** Yes. @haxtheweb/haxcms-nodejs (npm): upgrade to 11.0.13 or later; elmsln/haxcms (Packagist): upgrade to 11.0.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-54139 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2025-54139?** Check whether you run @haxtheweb/haxcms-nodejs (npm) or elmsln/haxcms (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @haxtheweb/haxcms-nodejs (npm): upgrade to 11.0.13 or later

  ```sh
  npm install @haxtheweb/haxcms-nodejs@11.0.13
  ```

- elmsln/haxcms (Packagist): upgrade to 11.0.8 or later

  ```sh
  composer require elmsln/haxcms:^11.0.8
  ```


## Technical details

The vulnerability is a Clickjacking / UI Redressing attack (CWE-1021) caused by missing frame-ancestors directives in Content-Security-Policy or X-Frame-Options headers. All pages in the HAX CMS application, including both the CMS interface and generated sites, fail to restrict embedding within iframes. The attack requires no authentication or special privileges and is triggered through user interaction—an attacker crafts a page that loads the HAX CMS login page or other sensitive functionality in a hidden iframe and overlays deceptive UI elements to coerce user clicks. An unauthenticated attacker can perform UI redressing attacks to manipulate users into performing unintended actions. Patches are available: version 11.0.13 for npm's @haxtheweb/haxcms-nodejs and version 11.0.8 for the PHP variant (elmsln/haxcms), both adding frameAncestors or frame-ancestors CSP directives.

## Affected products

- HAX haxcms-nodejs <11.0.13
- ELMSLN haxcms <11.0.8

## Identifiers

- CVE-2025-54139
- GHSA-54vw-f4xf-f92j

## Timeline

- 2025-07-21: disclosed: Advisory published on GitHub
- 2025-07-21: patched: Patches released: haxcms-nodejs 11.0.13 and haxcms-php 11.0.8

## References

- [https://github.com/haxtheweb/issues/security/advisories/GHSA-54vw-f4xf-f92j](https://github.com/haxtheweb/issues/security/advisories/GHSA-54vw-f4xf-f92j)
- [https://github.com/haxtheweb/haxcms-nodejs/commit/777f9a7ff9675a160496f350d766df1f1f9b9b99](https://github.com/haxtheweb/haxcms-nodejs/commit/777f9a7ff9675a160496f350d766df1f1f9b9b99)
- [https://github.com/haxtheweb/haxcms-php/commit/708dc8518928fe307044e67bff8b0f397cfdd606](https://github.com/haxtheweb/haxcms-php/commit/708dc8518928fe307044e67bff8b0f397cfdd606)
- [https://github.com/haxtheweb/issues](https://github.com/haxtheweb/issues)

## Related threats

- [haxtheweb HAX CMS denial of service in createSite endpoint](https://junglewise.ai/threats/cve-2026-46357-haxtheweb-hax-cms-denial-of-service-in-createsite-endpoint)
- [HAX CMS account takeover via Stored XSS and token exposure](https://junglewise.ai/threats/cve-2026-46511-hax-cms-account-takeover-via-stored-xss-and-token-exposure)
- [haxtheweb HAX CMS stored XSS in video-player component](https://junglewise.ai/threats/cve-2026-46496-haxtheweb-hax-cms-stored-xss-in-video-player-component)
- [HAX CMS stored XSS in iframe elements](https://junglewise.ai/threats/cve-2026-46396-hax-cms-stored-xss-in-iframe-elements)
- [HAX CMS private key disclosure and JWT forgery in Node.js backend](https://junglewise.ai/threats/cve-2026-46395-hax-cms-private-key-disclosure-and-jwt-forgery-in-node-js-backend)
