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-42253

CVE-2026-42253: Apache ActiveMQ XSS Vulnerability

CVE-2026-42253 is a cross-site scripting flaw in Apache ActiveMQ that allows attackers to inject malicious headers through JMS message properties. This article covers technical details, affected versions, and mitigation.

Published: June 4, 2026

CVE-2026-42253 Overview

CVE-2026-42253 is a Cross-Site Scripting (XSS) vulnerability affecting Apache ActiveMQ and Apache ActiveMQ Web. The MessageServlet in the ActiveMQ web console API copies every Java Message Service (JMS) message property into an HTTP response header without validation. Attackers can inject or overwrite security headers by setting them on JMS messages returned by the servlet. The flaw is tracked under [CWE-79] and carries a CVSS score of 6.1. Affected versions include Apache ActiveMQ and ActiveMQ Web before 5.19.7, and from 6.0.0 before 6.2.6. The Apache Software Foundation has released fixed builds and deprecated the MessageServlet, which is now disabled by default.

Critical Impact

Attackers can inject arbitrary HTTP response headers through JMS message properties, enabling header-based XSS, security header overwrites, and downstream client-side attacks against ActiveMQ web console users.

Affected Products

  • Apache ActiveMQ versions before 5.19.7
  • Apache ActiveMQ versions from 6.0.0 before 6.2.6
  • Apache ActiveMQ Web versions before 5.19.7 and from 6.0.0 before 6.2.6

Discovery Timeline

  • 2026-06-01 - CVE-2026-42253 published to the National Vulnerability Database (NVD)
  • 2026-06-01 - Last updated in NVD database

Technical Details for CVE-2026-42253

Vulnerability Analysis

The vulnerability resides in the MessageServlet component of the Apache ActiveMQ web console API. When a client requests a queued message through the servlet, the servlet enumerates each JMS message property and writes it directly into the HTTP response as a header. No validation, encoding, or allowlist filtering is applied to the property name or value.

An attacker who can publish JMS messages to a broker can craft property names that the servlet interprets as separate HTTP headers. This allows the attacker to inject security headers such as Content-Security-Policy, X-Frame-Options, or Set-Cookie, or to overwrite existing ones the servlet would normally emit. Because the injected content reaches the browser as part of a response served by the web console, it produces a stored XSS condition through HTTP header injection.

User interaction is required: a victim must load the affected web console endpoint after the malicious message has been queued. Successful exploitation can weaken browser-side protections, perform session-related attacks, or pivot to other web console functionality.

Root Cause

The root cause is improper neutralization of input during web page generation. The MessageServlet trusts JMS message properties as a safe data source and forwards them into the response header stream. JMS properties are attacker-controllable in any deployment where producers are not strictly trusted, so the lack of header name and value sanitization creates a direct injection sink.

Attack Vector

The attack is network-based with low complexity and no privileges required, but it does require user interaction from a victim who accesses the web console. An attacker submits a JMS message containing property names and values designed to break out of the expected header context. When an administrator or operator browses to the affected MessageServlet endpoint, the broker emits attacker-controlled response headers, enabling XSS and header smuggling against the victim's browser session.

No verified public proof-of-concept code is available. Refer to the Apache Security Mailing List Thread and the OpenWall OSS-Security Discussion for technical details.

Detection Methods for CVE-2026-42253

Indicators of Compromise

  • JMS messages containing property names with CRLF sequences, control characters, or HTTP header-like tokens such as Content-Security-Policy or Set-Cookie.
  • HTTP responses from the ActiveMQ web console containing unexpected, duplicated, or attacker-controlled security headers.
  • Web console access logs showing requests to MessageServlet endpoints followed by client-side script errors or anomalous browser behavior.

Detection Strategies

  • Inspect ActiveMQ broker logs for JMS message producers setting unusual or excessively long property names on queues consumed by the web console.
  • Compare emitted HTTP response headers from the web console against an expected baseline to identify injected or overwritten headers.
  • Audit deployed ActiveMQ versions against the fixed releases 5.19.7 and 6.2.6 to identify exposed instances.

Monitoring Recommendations

  • Forward ActiveMQ broker and web console access logs to a centralized log platform and alert on access to MessageServlet paths from non-administrative networks.
  • Monitor for newly created JMS producers or unusual property-setting patterns on queues exposed via the web console.
  • Track configuration drift on ActiveMQ instances to detect re-enablement of the deprecated MessageServlet.

How to Mitigate CVE-2026-42253

Immediate Actions Required

  • Upgrade Apache ActiveMQ and Apache ActiveMQ Web to version 5.19.7 or 6.2.6, where the MessageServlet is deprecated and disabled by default.
  • Restrict network access to the ActiveMQ web console to trusted administrative networks using firewall rules or reverse proxy controls.
  • Audit JMS producer permissions and remove publishing rights from untrusted or unauthenticated identities.

Patch Information

The Apache Software Foundation released fixes in Apache ActiveMQ 5.19.7 and 6.2.6. The patched releases deprecate the MessageServlet and disable it by default. Refer to the Apache Security Mailing List Thread for the official advisory and upgrade guidance.

Workarounds

  • Disable the MessageServlet in the ActiveMQ web console configuration if upgrading immediately is not feasible.
  • Place the web console behind an authenticating reverse proxy that strips or validates response headers emitted by MessageServlet.
  • Apply strict authentication and authorization on JMS producer connections to prevent untrusted clients from publishing messages with arbitrary properties.
bash
# Configuration example: disable MessageServlet in jetty.xml
# Remove or comment out the servlet mapping for MessageServlet
# <servlet>
#   <servlet-name>MessageServlet</servlet-name>
#   <servlet-class>org.apache.activemq.web.MessageServlet</servlet-class>
# </servlet>
# After upgrading to 5.19.7 or 6.2.6, MessageServlet is disabled by default.

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechApache Activemq

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • OpenWall OSS-Security Discussion
  • Vendor Resources
  • Apache Security Mailing List Thread
  • Related CVEs
  • CVE-2026-41043: Apache ActiveMQ XSS Vulnerability

  • CVE-2020-1941: Apache ActiveMQ XSS Vulnerability

  • CVE-2026-49157: Apache ActiveMQ Privilege Escalation Flaw

  • CVE-2026-49270: Apache ActiveMQ Info Disclosure Flaw
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