CVE-2026-46392: HAX CMS PHP Has a Stored XSS via Case-Sensitivity Mismatch in HTML Upload Validation
HAX CMS helps manage microsite universe with PHP or NodeJs backends. Prior to version 26.0.0 of HAX CMS PHP, the saveFile endpoint validates upload extensions case-insensitively and writes the filename to disk verbatim, but the .htaccess rule that forces Content-Disposition: attachment on HTML files is case-sensitive. An HTML file uploaded with an uppercase extension (.HTML, .Html, .HTM) is still served as text/html but the forced-download header never applies, so the browser renders it inline and executes any embedded JavaScript in the HAXcms origin. This bypasses the mitigation shipped for CVE-2026-22704. Version 26.0.0 contains a fix.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
HAX CMS PHPto a version that resolves this vulnerability.Fixed in 26.0.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46392?
CVE-2026-46392 has a severity rating of 8.7, which is classified as high.
How do I fix CVE-2026-46392?
To fix CVE-2026-46392, upgrade to version 26.0.0 or later of HAX CMS PHP.
What kind of vulnerability is CVE-2026-46392?
CVE-2026-46392 is a stored Cross-Site Scripting (XSS) vulnerability caused by improper HTML file upload validation.
What impact does CVE-2026-46392 have on my application?
CVE-2026-46392 allows attackers to execute arbitrary JavaScript in the context of users who interact with the affected application.
Which software is affected by CVE-2026-46392?
CVE-2026-46392 affects HAX CMS PHP versions prior to 26.0.0.