CVE-2026-46511

HAXcms: Mass Token Exfiltration and Cross-Tenant Hijack

Published Jun 5, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
HAX CMS helps manage microsite universe with PHP or NodeJs backends. Prior to version 26.0.0, an attack chain utilizing Stored XSS alongside dynamic token exposure in the `/system/api/connectionSettings` endpoint allows an authenticated attacker to perform a complete cross-tenant account takeover. The API dynamically leaks the active session's authentication tokens (including the `jwt`, `user_token`, `site_token`, and `appstore_token`) into a global JavaScript variable (`window.appSettings`). An attacker can exploit the XSS vulnerability to force a victim's browser to silently fetch their specific connection settings, extract the tokens, and exfiltrate them to an attacker-controlled webhook. Version 26.0.0 patches the issue.

Analysis

AI-generated

Technical impact

The vulnerability combines a stored cross‑site scripting flaw with a dynamic exposure of authentication tokens. An attacker who can inject script into the content system is able to embed code that runs in the victim’s browser. When the victim visits pages that load the /system/api/connectionSettings endpoint, the endpoint writes the current session’s JWT, user_token, site_token, and appstore_token into a global JavaScript variable. The injected script can then silently read that variable and send the tokens to an attacker‑controlled webhook. The resulting token exfiltration allows the attacker to impersonate the victim and gain control across other tenants, effectively performing a cross‑tenant account takeover.

Affected Systems

The issue is present in the HAX CMS platform, both the Node.js and PHP back‑ends. Any deployment of haxtheweb:haxcms‑nodejs or haxtheweb:haxcms‑php with a version older than 26.0.0 is affected. Version 26.0.0 and later contain the fix that removes the token leakage and eliminates the stored XSS vector used in the attack chain.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the local exploit probability may still be significant because the flaw requires only a stored XSS injection, which can be introduced through normal content editing workflows. Once an authenticated user injects the malicious content, every victim who visits the affected pages will have their session tokens stolen and exfiltrated. The attack vector is web‑based and requires no additional privileges beyond the ability to write to stored content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to HAX CMS version 26.0.0 or later to eliminate the token leakage and stored XSS path
  • Restrict or remove public access to the /system/api/connectionSettings endpoint so only trusted users can fetch the settings
  • Implement monitoring for unexpected outbound HTTP requests from the CMS front‑end to detect and block token exfiltration attempts

Generated by OpenCVE AI on June 5, 2026 at 20:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-x3x5-7h4h-gwxg HAXcms: Mass Token Exfiltration and Cross-Tenant Hijack
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Haxtheweb
Haxtheweb haxcms-nodejs
Haxtheweb haxcms-php
Vendors & Products Haxtheweb
Haxtheweb haxcms-nodejs
Haxtheweb haxcms-php
Type Values Removed Values Added
Description HAX CMS helps manage microsite universe with PHP or NodeJs backends. Prior to version 26.0.0, an attack chain utilizing Stored XSS alongside dynamic token exposure in the `/system/api/connectionSettings` endpoint allows an authenticated attacker to perform a complete cross-tenant account takeover. The API dynamically leaks the active session's authentication tokens (including the `jwt`, `user_token`, `site_token`, and `appstore_token`) into a global JavaScript variable (`window.appSettings`). An attacker can exploit the XSS vulnerability to force a victim's browser to silently fetch their specific connection settings, extract the tokens, and exfiltrate them to an attacker-controlled webhook. Version 26.0.0 patches the issue.
Title HAXcms: Mass Token Exfiltration and Cross-Tenant Hijack
Weaknesses CWE-522
CWE-79
CWE-922
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-922

    Insecure Storage of Sensitive Information

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 8, 2026, 3:55 PM
Reserved
May 14, 2026, 7:12 PM
Status
Deferred
Published
Jun 5, 2026, 7:16 PM
Modified
Jun 17, 2026, 10:53 AM