CVE-2026-46392: CWE-178: Improper Handling of Case Sensitivity in haxtheweb haxcms-php
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
Technical Summary
The vulnerability in haxcms-php prior to version 26.0.0 involves improper handling of case sensitivity in file upload validation and server configuration. The saveFile endpoint validates file extensions case-insensitively but writes filenames to disk without normalizing case. The .htaccess rule intended to force Content-Disposition: attachment on HTML files is case-sensitive and only applies to lowercase extensions. Consequently, HTML files uploaded with uppercase or mixed-case extensions bypass the forced download header and are served inline as text/html, enabling execution of embedded JavaScript in the context of the HAXcms origin. This flaw effectively circumvents the mitigation implemented for CVE-2026-22704. The issue is addressed in version 26.0.0.
Potential Impact
An attacker can upload HTML files with uppercase or mixed-case extensions that are served inline by the web server, allowing execution of arbitrary JavaScript in the security context of the HAXcms origin. This can lead to cross-site scripting (XSS) attacks with high confidentiality and integrity impact, potentially compromising user data or session information. The vulnerability bypasses a prior mitigation, increasing risk to affected installations. There is no indication of known exploits in the wild at this time.
Mitigation Recommendations
Version 26.0.0 of haxcms-php contains a fix for this vulnerability and should be applied to affected systems. Since the vendor advisory does not provide additional remediation details, upgrading to version 26.0.0 is the recommended action. Patch status is not explicitly confirmed beyond the version fix note, so users should verify the update from the vendor. No other mitigations are specified.
CVE-2026-46392: CWE-178: Improper Handling of Case Sensitivity in haxtheweb haxcms-php
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.
CVSS v3.1
Score 8.7high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in haxcms-php prior to version 26.0.0 involves improper handling of case sensitivity in file upload validation and server configuration. The saveFile endpoint validates file extensions case-insensitively but writes filenames to disk without normalizing case. The .htaccess rule intended to force Content-Disposition: attachment on HTML files is case-sensitive and only applies to lowercase extensions. Consequently, HTML files uploaded with uppercase or mixed-case extensions bypass the forced download header and are served inline as text/html, enabling execution of embedded JavaScript in the context of the HAXcms origin. This flaw effectively circumvents the mitigation implemented for CVE-2026-22704. The issue is addressed in version 26.0.0.
Potential Impact
An attacker can upload HTML files with uppercase or mixed-case extensions that are served inline by the web server, allowing execution of arbitrary JavaScript in the security context of the HAXcms origin. This can lead to cross-site scripting (XSS) attacks with high confidentiality and integrity impact, potentially compromising user data or session information. The vulnerability bypasses a prior mitigation, increasing risk to affected installations. There is no indication of known exploits in the wild at this time.
Mitigation Recommendations
Version 26.0.0 of haxcms-php contains a fix for this vulnerability and should be applied to affected systems. Since the vendor advisory does not provide additional remediation details, upgrading to version 26.0.0 is the recommended action. Patch status is not explicitly confirmed beyond the version fix note, so users should verify the update from the vendor. No other mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T19:53:47.922Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a231d8ae29bf47b50a98340
Added to database: 6/5/2026, 7:03:38 PM
Last enriched: 6/5/2026, 7:19:09 PM
Last updated: 6/6/2026, 4:58:03 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.