A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-46392

CVE-2026-46392: HAX CMS XSS Vulnerability

CVE-2026-46392 is a cross-site scripting flaw in HAX CMS that allows attackers to execute JavaScript via uppercase HTML file extensions. This post explains its technical details, affected versions, impact, and mitigation.

Published: June 11, 2026

CVE-2026-46392 Overview

CVE-2026-46392 is a stored cross-site scripting (XSS) vulnerability in HAX CMS PHP affecting all versions prior to 26.0.0. The saveFile endpoint validates upload extensions case-insensitively but writes the filename to disk verbatim. The .htaccess rule that forces Content-Disposition: attachment on HTML files is case-sensitive, so files with uppercase extensions like .HTML, .Html, or .HTM bypass the download enforcement and render inline in the browser. This defeats the mitigation introduced for CVE-2026-22704 and enables JavaScript execution in the HAXcms origin. The flaw is tracked under [CWE-178: Improper Handling of Case Sensitivity].

Critical Impact

Authenticated attackers can upload HTML files with uppercase extensions to execute arbitrary JavaScript in the HAXcms origin, leading to session hijacking and account compromise.

Affected Products

  • HAX CMS PHP versions prior to 26.0.0
  • HAXcms microsite management backends running PHP
  • Deployments relying on the .htaccess mitigation from CVE-2026-22704

Discovery Timeline

  • 2026-06-05 - CVE-2026-46392 published to NVD
  • 2026-06-05 - Last updated in NVD database

Technical Details for CVE-2026-46392

Vulnerability Analysis

The vulnerability arises from inconsistent case handling between two security controls in HAX CMS PHP. The saveFile endpoint validates extensions using case-insensitive matching, accepting both .html and .HTML as restricted. However, the upload routine preserves the original filename casing when writing to disk. The webserver-level mitigation depends on a .htaccess rule that matches HTML extensions in a case-sensitive manner. Files saved with mixed-case or uppercase extensions are still served with the text/html MIME type but never receive the Content-Disposition: attachment header that was intended to force a download instead of inline rendering.

Root Cause

The root cause is a mismatch between the application-layer validation logic and the webserver-layer enforcement. The PHP code normalizes extensions for the allow/deny check but does not normalize the filename before persisting it. The Apache .htaccess directive that enforces the download header uses a case-sensitive pattern, so .HTML and .Htm fall outside its scope. This classifies as [CWE-178] improper handling of case sensitivity.

Attack Vector

An authenticated user with upload permissions submits an HTML payload through the saveFile endpoint using an uppercase extension such as .HTML. The server stores the file verbatim and later serves it with a text/html content type. When another user, including an administrator, opens the URL, the browser renders the file inline and executes any embedded JavaScript under the HAXcms origin. The attacker can steal session cookies, perform actions on behalf of the victim, or pivot to further compromise. The CVSS vector indicates a scope change because the executed script operates in the trusted origin of other users.

No public proof-of-concept code is referenced in the advisory. See the GitHub Security Advisory for vendor-provided technical details.

Detection Methods for CVE-2026-46392

Indicators of Compromise

  • Files with uppercase or mixed-case HTML extensions (.HTML, .Html, .HTM) in HAXcms upload directories
  • Web server access logs showing GET requests to user-uploaded files with non-lowercase HTML extensions
  • Outbound requests from user browsers to attacker-controlled domains shortly after viewing HAXcms content
  • Unexpected session token exfiltration or administrative actions originating from HAXcms sessions

Detection Strategies

  • Audit the HAXcms file storage tree for any file whose extension contains uppercase characters and matches HTML variants
  • Inspect HTTP responses from HAXcms to confirm whether Content-Disposition: attachment is present for all HTML-family files
  • Review recent saveFile POST requests in application logs for filenames containing uppercase HTML extensions

Monitoring Recommendations

  • Enable continuous logging of upload endpoints and alert on filenames that match a case-insensitive HTML pattern but not a case-sensitive one
  • Monitor browser-side error reports or Content Security Policy violations on the HAXcms origin
  • Track authentication anomalies such as session reuse from unexpected geolocations following file access events

How to Mitigate CVE-2026-46392

Immediate Actions Required

  • Upgrade HAX CMS PHP to version 26.0.0 or later, which contains the official fix
  • Inventory existing uploads and quarantine any HTML-family files with non-lowercase extensions
  • Rotate session secrets and credentials for accounts that may have viewed malicious uploads

Patch Information

The maintainers released version 26.0.0 of HAX CMS PHP, which addresses CVE-2026-46392 by normalizing filename extensions before storage and tightening the .htaccess enforcement. Refer to the GitHub Security Advisory GHSA-hg33-w4j2-95qp for upgrade instructions and commit references.

Workarounds

  • Modify the .htaccess rule to use a case-insensitive match for HTML extensions, for example by applying (?i) or listing all case variants
  • Add a server-side filter that lowercases the file extension before writing the uploaded file to disk
  • Restrict the upload endpoint to trusted users until the patch is applied and verify the MIME type and Content-Disposition header in test responses
bash
# Apache .htaccess example forcing attachment disposition for HTML files regardless of case
<FilesMatch "(?i)\.(html?|htm)$">
    Header set Content-Disposition "attachment"
</FilesMatch>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechHax Cms

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-178
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-46396: HAX CMS Stored XSS Vulnerability

  • CVE-2026-46511: HAX CMS Stored XSS Vulnerability

  • CVE-2026-46496: HAX CMS Stored XSS Vulnerability

  • CVE-2026-48527: HAX CMS Stored XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English