Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-46392: CWE-178: Improper Handling of Case Sensitivity in haxtheweb haxcms-php

0
High
VulnerabilityCVE-2026-46392cvecve-2026-46392cwe-178cwe-434
Published: Fri Jun 05 2026 (06/05/2026, 18:20:25 UTC)
Source: CVE Database V5
Vendor/Project: haxtheweb
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/05/2026, 19:19:09 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses