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.
Published: 2026-06-05
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Fri, 05 Jun 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Haxtheweb
Haxtheweb haxcms-nodejs
Haxtheweb haxcms-php
Vendors & Products Haxtheweb
Haxtheweb haxcms-nodejs
Haxtheweb haxcms-php

Fri, 05 Jun 2026 19:00:00 +0000

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'}


Subscriptions

Haxtheweb Haxcms-nodejs Haxcms-php
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-05T18:32:55.498Z

Reserved: 2026-05-14T19:12:32.754Z

Link: CVE-2026-46511

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-06-05T19:16:34.267

Modified: 2026-06-05T19:20:19.607

Link: CVE-2026-46511

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-05T20:45:04Z

Weaknesses