Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain author-level HAX CMS account
-
DeliveryOpen page HTML source editor
-
ExploitInject iframe with srcdoc/javascript payload
-
InstallVictim authenticated user views page
-
C2Script reads window.appSettings.jwt
-
ExecuteExfiltrate JWT to attacker server
-
ImpactHijack session and take over account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must hold valid HAX CMS credentials with permission to create or edit page content via the HTML source editor (CVSS PR:L - any authenticated author role suffices, not admin), and a victim user must subsequently view the booby-trapped page in an authenticated browser session (CVSS UI:P, passive user interaction). The deployment must be running @haxtheweb/haxcms-nodejs, @haxtheweb/video-player, or @haxtheweb/iframe-loader at version <= 25.0.0 with the default front-end that places the JWT on |
| Impact | The CVSS 4.0 base score is 9.3 (Critical) with vector AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N - network-reachable, low complexity, low privileges (any authenticated author), but requiring victim interaction (viewing the malicious page) and yielding high confidentiality and integrity impact on both vulnerable and subsequent (scope) systems. No EPSS score, KEV listing, or SSVC decision was provided in the input, so widespread automated exploitation cannot be inferred; however, a fully working PoC is published in the GHSA advisory, which materially lowers the bar for opportunistic abuse. The realistic risk is high for any multi-tenant HAX CMS deployment where lower-privileged authors interact with higher-privileged reviewers/admins, because exposing the JWT on window.appSettings means a single viewed page yields full account takeover; for single-author or trusted-author deployments the practical risk is lower. |
| Exploit ScenarioDerived | An attacker with author-level credentials on a HAX CMS instance creates or edits a page and pastes the published PoC |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 05, 2026
Stored cross-site scripting in HAX CMS (versions <= 25.0.0) allows authenticated users to inject malicious <iframe> elements with javascript: URIs or srcdoc payloads that execute in viewers' browsers, enabling theft of JWTs exposed via window.appSettings and full account takeover. A working proof-of-concept is published in the GHSA advisory demonstrating JWT exfiltration, and a vendor patch is available in 26.0.0. No public exploit identified at time of analysis beyond the published PoC, and the issue is not listed in CISA KEV.
Earlier versions of this analysis (2)
Stored cross-site scripting in HAX CMS (haxcms-nodejs, video-player, and iframe-loader npm packages at versions <= 25.0.0) allows an authenticated content editor to inject a malicious <iframe> whose srcdoc or javascript: URI executes when another user views the page. Because HAX CMS exposes the JWT via window.appSettings, exploitation leads directly to authentication token theft and full account takeover. Publicly available exploit code exists in the GitHub Security Advisory; no public exploit identified at time of analysis as being used in the wild.
Stored cross-site scripting in HAX CMS (haxtheweb) allows authenticated users to inject malicious <iframe> elements containing javascript: URIs or srcdoc payloads that execute in other users' browser sessions. The flaw stems from improper sanitization in the page content editor and impacts the npm packages @haxtheweb/haxcms-nodejs, @haxtheweb/video-player, and @haxtheweb/iframe-loader at versions <= 25.0.0. A working proof-of-concept demonstrating JWT theft via window.appSettings.jwt is published in the GitHub Security Advisory GHSA-jh3h-rpxg-fr36, though no public exploit identified at time of analysis indicates mass weaponization.
RemediationAI
Vendor-released patch: upgrade @haxtheweb/haxcms-nodejs, @haxtheweb/video-player, and @haxtheweb/iframe-loader to 26.0.0 or later per GHSA-jh3h-rpxg-fr36 (https://github.com/haxtheweb/issues/security/advisories/GHSA-jh3h-rpxg-fr36). Until the upgrade is deployed, restrict page-editing privileges to fully trusted users and audit existing page content for <iframe> tags containing javascript: URIs or srcdoc attributes; consider temporarily disabling the raw HTML source editor (<>) in the authoring UI, which prevents the injection vector at the cost of removing direct HTML editing for authors. As a defensive hardening step independent of this CVE, stop exposing the JWT on window.appSettings (move it to an HttpOnly cookie) so that future client-side script execution cannot trivially exfiltrate session credentials; this is a substantive architectural change and should be tested against any client code that currently reads the token from the global.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 6 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HAX CMS is a headless/decoupled content management system built as a collection of npm packages (notably @haxtheweb/haxcms-nodejs, @haxtheweb/video-player, and @haxtheweb/iframe-loader) that lets authenticated authors edit page HTML directly through a source editor. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): the HTML sanitizer permits <iframe> elements and does not strip javascript: URIs from src attributes or block dangerous srcdoc content with allow-scripts allow-same-origin sandbox tokens. Because the front-end stores sensitive material such as JWTs on window.appSettings, scripts executing in the same origin can read authentication tokens directly from the DOM rather than relying on cookie theft.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
Summary
A stored cross-site scripting (XSS) vulnerability exists in HAX CMS due to improper sanitization of <iframe> elements.
The application allows javascript: URIs in the src attribute, which are executed when a malicious page is viewed. This enables attackers to execute arbitrary JavaScript in the context of the victim’s browser and access sensitive data exposed to client-side scripts.
Details
Successful exploitation allows access to any data available in the browser context, including:
- Authentication tokens (e.g., JWT)
- Session cookies (if not protected with HttpOnly)
- Application configuration (e.g., window.appSettings)
- User-specific data accessible via APIs
This significantly increases the impact beyond simple script execution.
PoC
Steps to reproduce:
- Log in to HAX CMS as any authenticated user.
- Create a new page or edit an existing page.
- Open the HTML source editor (
<>). - Insert the following payload:
<iframe srcdoc="<script>
(function(){
try {
var jwt = parent.window.appSettings.jwt;
alert('Stolen JWT:\n' + jwt);
} catch(e) {
alert('Error: ' + e.message);
}
})();
</script>" style="display:none" sandbox="allow-scripts allow-same-origin"></iframe><img width="2446" height="1319" alt="image" src="https://github.com/user-attachments/assets/daea3b41-8c72-4f6c-ab32-34c688bbd251" />
<img width="2464" height="1397" alt="image" src="https://github.com/user-attachments/assets/911cbd42-db50-454a-b178-51555e0db79c" />
<img width="2466" height="1409" alt="webhook`" src="https://github.com/user-attachments/assets/8a286435-98f4-418c-a596-d0c19556696a" />
Impact
This vulnerability allows stored XSS leading to:
- Execution of arbitrary JavaScript in victim browsers
- Access to sensitive client-side data, including authentication tokens and session identifiers
- Unauthorized API actions performed on behalf of the victim
- Session hijacking and full account takeover
Because the application exposes authentication data in the client-side environment, exploitation of this vulnerability can lead to complete compromise of user accounts and site content.
Executive ViewAI
HAX CMS versions 25.0.0 and earlier contain a stored cross-site scripting vulnerability with publicly available exploit code that enables authenticated users to inject malicious code executing in other users' browsers to steal session tokens and achieve account takeover. Organizations using HAX CMS face immediate risk because any user account-including potentially compromised low-privilege accounts-can be weaponized to compromise other users without additional authentication.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-34891
GHSA-jh3h-rpxg-fr36
NVD
CVE.org
EPSS
VulDB
Exploit-DB