The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-41043

CVE-2026-41043: Apache ActiveMQ XSS Vulnerability

CVE-2026-41043 is a cross-site scripting flaw in Apache ActiveMQ that allows authenticated attackers to inject malicious HTML content in the web console. This article covers technical details, affected versions, and mitigation.

Published: April 30, 2026

CVE-2026-41043 Overview

A Cross-Site Scripting (XSS) vulnerability has been identified in Apache ActiveMQ and Apache ActiveMQ Web. The flaw stems from improper neutralization of script-related HTML tags in the web console interface. An authenticated attacker can exploit this vulnerability to display malicious content when users browse queues in the web console by overriding the content type from XML to HTML and injecting HTML code into a JMS selector field.

Critical Impact

Authenticated attackers can inject malicious HTML content into the ActiveMQ web console, potentially leading to session hijacking, credential theft, or phishing attacks against other authenticated users browsing message queues.

Affected Products

  • Apache ActiveMQ versions before 5.19.6
  • Apache ActiveMQ versions from 6.0.0 before 6.2.5
  • Apache ActiveMQ Web versions before 5.19.6 and from 6.0.0 before 6.2.5

Discovery Timeline

  • 2026-04-24 - CVE-2026-41043 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-41043

Vulnerability Analysis

This vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The flaw exists within the queue browsing functionality of the Apache ActiveMQ web console. When users interact with queues through the web interface, the application fails to properly sanitize user-controllable input in the JMS selector field, allowing malicious HTML and JavaScript to be rendered in the browser context of other authenticated users.

The attack requires authentication to the ActiveMQ web console, limiting the initial attack surface. However, once an attacker has valid credentials, they can leverage this vulnerability to target other administrators or users who browse the affected queues.

Root Cause

The root cause lies in insufficient input validation and output encoding within the web console's queue browsing functionality. When the application renders queue contents, it allows the content type to be overridden from XML to HTML without proper sanitization of the JMS selector field values. This permits injection of arbitrary HTML markup including script tags that execute in the victim's browser session.

Attack Vector

The attack is network-based and requires the following conditions:

  1. The attacker must have valid authentication credentials to the ActiveMQ web console
  2. The attacker crafts a malicious JMS selector containing HTML/JavaScript payloads
  3. The attacker manipulates the content type header to render the response as HTML instead of XML
  4. When a victim user browses the affected queue through the web console, the injected payload executes in their browser context

This XSS attack can be leveraged for session hijacking, stealing authentication cookies, performing actions on behalf of the victim user, or redirecting users to malicious external sites.

Detection Methods for CVE-2026-41043

Indicators of Compromise

  • Unusual JMS selector values containing HTML tags or JavaScript code in message queue configurations
  • Web console access logs showing requests with manipulated content-type headers
  • Unexpected changes to queue selector configurations by authenticated users
  • Browser-based alerts or behaviors reported by users browsing the ActiveMQ web console

Detection Strategies

  • Monitor Apache ActiveMQ web console logs for requests containing HTML tags or script elements in JMS selector parameters
  • Implement web application firewall (WAF) rules to detect and block XSS payloads targeting the ActiveMQ web console
  • Review authentication logs for suspicious patterns of access to queue browsing endpoints
  • Deploy browser-based XSS detection mechanisms for administrative interfaces

Monitoring Recommendations

  • Enable verbose logging on the ActiveMQ web console to capture request parameters and content-type modifications
  • Configure security information and event management (SIEM) alerts for patterns indicative of XSS attempts
  • Regularly audit JMS selector configurations for unauthorized or suspicious content
  • Monitor for anomalous user behavior in the web console, particularly around queue browsing activities

How to Mitigate CVE-2026-41043

Immediate Actions Required

  • Upgrade Apache ActiveMQ to version 6.2.5 or 5.19.6 immediately
  • Restrict access to the ActiveMQ web console to trusted networks and administrators only
  • Review existing JMS selector configurations for any suspicious HTML or script content
  • Implement additional authentication controls such as multi-factor authentication for web console access
  • Consider temporarily disabling web console access if upgrading is not immediately possible

Patch Information

Apache has released patched versions that address this vulnerability. Users should upgrade to version 6.2.5 or 5.19.6 depending on their current deployment branch. The fix properly sanitizes JMS selector input and prevents content-type manipulation that enables HTML injection.

For detailed patch information, refer to the Apache ActiveMQ Security Advisory.

Workarounds

  • Restrict access to the ActiveMQ web console by configuring firewall rules to allow connections only from trusted IP addresses
  • Implement a reverse proxy with XSS filtering capabilities in front of the ActiveMQ web console
  • Disable the web console entirely if it is not required for operational purposes
  • Apply network segmentation to limit exposure of the ActiveMQ management interface
  • Use Content Security Policy (CSP) headers at the reverse proxy level to mitigate script execution risks
bash
# Example: Restrict web console access via iptables
# Only allow management access from specific trusted subnet
iptables -A INPUT -p tcp --dport 8161 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8161 -j DROP

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.5

  • EPSS Probability0.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • OpenWall OSS Security List Post
  • Vendor Resources
  • Apache ActiveMQ Security Advisory
  • Related CVEs
  • CVE-2020-1941: Apache ActiveMQ XSS Vulnerability

  • CVE-2026-41044: Apache ActiveMQ RCE Vulnerability

  • CVE-2026-40466: Apache ActiveMQ RCE Vulnerability

  • CVE-2026-40046: Apache ActiveMQ Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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