CVE 8.7 HIGH

HAX CMS PHP Has a Stored XSS via Case-Sensitivity Mismatch in HTML Upload Validation_CVE-2026-46392

8.7 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Description

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.

AI Analysis

Stored XSS via case-sensitivity mismatch in HTML upload validation

Basic Information

ID CVE-2026-46392
Source GitHub_M
Published Jun 5, 2026 at 18:20

Affected Product

Vendor haxtheweb
Product haxcms-php
Version < 26.0.0
Affected Versions haxtheweb haxcms-php < 26.0.0

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor haxtheweb
Product HAX CMS PHP
Version < 26.0.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.