CVE-2025-54139: @haxtheweb/haxcms nodejs HAX CMS Application Pages Vulnerable Vulnerability

MODERATE
Advisory Identifier: GHSA-54vw-f4xf-f92j
CVSS 4.3
CWE-1021
Published
Advisory Summary

CVE-2025-54139 is a MODERATE (CVSS 4.3) hax cms application pages vulnerable vulnerability (CWE-1021: Improper Restriction of Rendered UI Layers or Frames) affecting @haxtheweb/haxcms nodejs libraries in the npm ecosystem. The issue involves hax cms application pages vulnerable to clickjacking. Remediation is available by upgrading affected packages to version 11.0.13, 11.0.8.

CVE-2025-54139 at a Glance

CVE Identifier CVE-2025-54139
GHSA Identifier GHSA-54vw-f4xf-f92j
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-1021: Improper Restriction of Rendered UI Layers or Frames
Affected Product @haxtheweb/haxcms nodejs
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2025-54139

To remediate this vulnerability, upgrade all affected @haxtheweb/haxcms nodejs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@haxtheweb/haxcms-nodejs fixed: 11.0.13
npm install @haxtheweb/haxcms-nodejs@11.0.13
elmsln/haxcms fixed: 11.0.8
Upgrade elmsln/haxcms to 11.0.8
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @haxtheweb/haxcms-nodejs

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-54139, inspect your project dependencies using npm:

npm ls @haxtheweb/haxcms-nodejs

Analyze the terminal output to locate any version of @haxtheweb/haxcms nodejs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 11.0.13), your application is affected.

Note: The npm ls @haxtheweb/haxcms-nodejs command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1021: Improper Restriction of Rendered UI Layers or Frames, where the web application does not restrict or incorrectly restricts frame objects or ui layers that belong to another application or domain. In @haxtheweb/haxcms nodejs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary All pages within the HAX CMS application do not contain headers to stop other websites from loading the site within an iframe. This applies to both the CMS and generated sites. ### PoC To replicate this vulnerability, load the target page in an iframe and observe the rendered content. ![image](https://github.com/user-attachments/assets/84526738-7101-4842-9bac-d33a41091600) ### Impact An unauthenticated attacker can load the standalone login page or other sensitive functionality within an iframe, performing a UI redressing attack (Clickjacking). This can be used to perform social engineering attacks to attempt to coerce users into performing unintended actions within the HAX CMS application.

CVE-2025-54139 Affected @haxtheweb/haxcms nodejs Versions

2 component(s)
Fixed Versions:
11.0.1311.0.8
Product / Package Ecosystem Affected Versions Fixed Version
@haxtheweb/haxcms-nodejs
npm
< 11.0.13
11.0.13
elmsln/haxcms
Packagist
< 11.0.8
11.0.8

References

Frequently Asked Questions

What is CVE-2025-54139?
CVE-2025-54139 is a security vulnerability in @haxtheweb/haxcms nodejs involving HAX CMS application pages vulnerable to clickjacking under CWE-1021: Improper Restriction of Rendered UI Layers or Frames.
Which @haxtheweb/haxcms nodejs versions are affected?
Affected versions include releases prior to 11.0.13, 11.0.8 across affected packages: @haxtheweb/haxcms-nodejs, elmsln/haxcms.
What version fixes CVE-2025-54139?
Upgrading to 11.0.13, 11.0.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @haxtheweb/haxcms-nodejs affected?
Yes, @haxtheweb/haxcms-nodejs is affected in releases prior to 11.0.13. Upgrade your dependency to 11.0.13 or later.
Is elmsln/haxcms affected?
Yes, elmsln/haxcms is affected in releases prior to 11.0.8. Upgrade your dependency to 11.0.8 or later.
What is the CVSS score of CVE-2025-54139?
CVE-2025-54139 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2025-54139?
CVE-2025-54139 is classified under CWE-1021: Improper Restriction of Rendered UI Layers or Frames (The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain.).
How can I check npm dependencies for CVE-2025-54139?
Run the dependency tree command: 'npm ls @haxtheweb/haxcms-nodejs'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-54vw-f4xf-f92j",
  "modified" : "2025-07-23T13:37:04Z",
  "published" : "2025-07-21T21:12:44Z",
  "aliases" : [ "CVE-2025-54139" ],
  "summary" : "HAX CMS application pages vulnerable to clickjacking",
  "details" : "### Summary\n\nAll pages within the HAX CMS application do not contain headers to stop other websites from loading the site within an iframe. This applies to both the CMS and generated sites.\n\n### PoC\n\nTo replicate this vulnerability, load the target page in an iframe and observe the rendered content.\n\n![image](https://github.com/user-attachments/assets/84526738-7101-4842-9bac-d33a41091600)\n\n\n### Impact\n\nAn unauthenticated attacker can load the standalone login page or other sensitive functionality within an iframe, performing a UI redressing attack (Clickjacking). This can be used to perform social engineering attacks to attempt to coerce users into performing unintended actions within the HAX CMS application.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@haxtheweb/haxcms-nodejs"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "11.0.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "elmsln/haxcms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "11.0.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/haxtheweb/issues/security/advisories/GHSA-54vw-f4xf-f92j"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54139"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/haxtheweb/haxcms-nodejs/commit/777f9a7ff9675a160496f350d766df1f1f9b9b99"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/haxtheweb/haxcms-php/commit/708dc8518928fe307044e67bff8b0f397cfdd606"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/haxtheweb/issues"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1021" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-07-21T21:12:44Z",
    "nvd_published_at" : "2025-07-23T00:15:25Z"
  }
}