CVE-2025-49139: @haxtheweb/haxcms nodejs @haxtheweb/haxcms-nodejs Iframe Phishing Vulnerability Vulnerability
MODERATECVE-2025-49139 is a MODERATE (CVSS 5.3) @haxtheweb/haxcms-nodejs iframe phishing vulnerability vulnerability (CWE-1021: Improper Restriction of Rendered UI Layers or Frames) affecting @haxtheweb/haxcms nodejs libraries in the npm ecosystem. The issue involves @haxtheweb/haxcms-nodejs iframe phishing vulnerability. Remediation is available by upgrading affected packages to version 11.0.0.
CVE-2025-49139 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-49139
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.
npm install @haxtheweb/haxcms-nodejs@11.0.0
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-49139, 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.0), 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
CVE-2025-49139 Affected @haxtheweb/haxcms nodejs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@haxtheweb/haxcms-nodejs
|
npm |
< 11.0.0
|
11.0.0
|
References
Frequently Asked Questions
What is CVE-2025-49139?
Which @haxtheweb/haxcms nodejs versions are affected?
What version fixes CVE-2025-49139?
Is @haxtheweb/haxcms-nodejs affected?
What is the CVSS score of CVE-2025-49139?
What CWE is associated with CVE-2025-49139?
How can I check npm dependencies for CVE-2025-49139?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v3ph-2q5q-cg88",
"modified" : "2025-06-09T21:44:07Z",
"published" : "2025-06-09T19:07:21Z",
"aliases" : [ "CVE-2025-49139" ],
"summary" : "@haxtheweb/haxcms-nodejs Iframe Phishing vulnerability",
"details" : "### Summary\n\nIn the HAX site editor, users can create a website block to load another site in an iframe. The application allows users to supply a target URL in the website block. When the HAX site is visited, the client's browser will query the supplied URL.\n\n### Affected Resources\n\n- [Operations.php:868](https://github.com/haxtheweb/haxcms-php/blob/master/system/backend/php/lib/Operations.php#L868)\n- `https://<site>/<user>/system/api/saveNode`\n\n### PoC\n\n1. Set the URL in an iframe pointing to an attacker-controlled server running Responder\n\n\n\n2. Once another user visits the site, they are prompted to sign in.\n\n\n\n3. If a user inputs credentials, the username and password hash are outputted in Responder.\n\n\n\n### Impact\n\nAn authenticated attacker can create a HAX site with a website block pointing at an attacker-controlled server running Responder or a similar tool. The attacker can then conduct a phishing attack by convincing another user to visit their malicious HAX site to harvest credentials.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@haxtheweb/haxcms-nodejs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "11.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/haxtheweb/issues/security/advisories/GHSA-v3ph-2q5q-cg88"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-49139"
}, {
"type" : "WEB",
"url" : "https://github.com/haxtheweb/haxcms-nodejs/commit/5368eb9b278ca47cd9a83b8d3e6216375615b8f5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/haxtheweb/issues"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1021" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-09T19:07:21Z",
"nvd_published_at" : "2025-06-09T21:15:47Z"
}
}