CVE-2025-49139: @haxtheweb/haxcms-nodejs Iframe Phishing vulnerability
Summary
In 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.
Affected Resources
- Operations.php:868 - https://<site>/<user>/system/api/saveNode
PoC
1. Set the URL in an iframe pointing to an attacker-controlled server running Responder
!image
2. Once another user visits the site, they are prompted to sign in.
!image
3. If a user inputs credentials, the username and password hash are outputted in Responder.
!image
Impact
An 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.
Other sources
HAX CMS PHP allows users to manage their microsite universe with a PHP backend. Prior to version 11.0.0, in 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. An 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. Version 11.0.0 contains a patch for the issue.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-49139?
CVE-2025-49139 has been rated as a high severity vulnerability due to the potential for cross-site scripting attacks.
How do I fix CVE-2025-49139?
To fix CVE-2025-49139, update the @haxtheweb/haxcms-nodejs package to a version higher than 11.0.0.
What kind of attacks can CVE-2025-49139 lead to?
CVE-2025-49139 can lead to cross-site scripting (XSS) attacks when malicious URLs are loaded in an iframe.
Which software is affected by CVE-2025-49139?
CVE-2025-49139 affects the @haxtheweb/haxcms-nodejs package version 11.0.0 and below.
Is there a patch available for CVE-2025-49139?
Yes, a patch is available in versions of the @haxtheweb/haxcms-nodejs package released after 11.0.0.