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-2020-1941

CVE-2020-1941: Apache ActiveMQ XSS Vulnerability

CVE-2020-1941 is a cross-site scripting flaw in Apache ActiveMQ's webconsole admin GUI that affects queue content views. This post explains the technical details, affected versions, impact, and mitigation steps.

Published: March 4, 2026

CVE-2020-1941 Overview

CVE-2020-1941 is a Cross-Site Scripting (XSS) vulnerability affecting the Apache ActiveMQ web console administration GUI. The vulnerability exists in versions 5.0.0 through 5.15.11, specifically in the view that displays queue contents. Attackers can inject malicious scripts that execute in the context of authenticated administrator sessions, potentially leading to session hijacking, credential theft, or unauthorized administrative actions.

Critical Impact

Authenticated administrators viewing queue contents may unknowingly execute attacker-controlled JavaScript, enabling session hijacking and unauthorized access to the message broker infrastructure.

Affected Products

  • Apache ActiveMQ 5.0.0 to 5.15.11
  • Oracle Communications Diameter Signaling Router
  • Oracle Communications Element Manager 8.1.1, 8.2.0, 8.2.1
  • Oracle Communications Session Report Manager 8.1.1, 8.2.0, 8.2.1
  • Oracle Communications Session Route Manager 8.1.1, 8.2.0, 8.2.1
  • Oracle Enterprise Repository 11.1.1.7.0
  • Oracle FlexCube Private Banking 12.0.0, 12.1.0

Discovery Timeline

  • May 14, 2020 - CVE-2020-1941 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-1941

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The Apache ActiveMQ web console fails to properly sanitize user-controlled input when rendering queue contents in the administrative interface. When an administrator navigates to the queue listing view, message data is displayed without adequate encoding, allowing embedded JavaScript to execute within the browser context.

The attack requires user interaction, as an administrator must view the malicious queue content through the web console. However, since ActiveMQ is commonly used in enterprise messaging infrastructures, compromising an administrator session could provide attackers with significant access to sensitive message flows and system configurations.

Root Cause

The root cause is insufficient input validation and output encoding in the web console's queue content rendering functionality. The JSP templates or servlet code responsible for displaying queue messages do not properly escape HTML special characters or JavaScript content before rendering them in the browser. This allows attackers who can inject messages into monitored queues to embed malicious scripts that execute when administrators view the queue contents.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker must first be able to send messages to a queue monitored by ActiveMQ administrators. The attacker crafts a message containing malicious JavaScript payloads embedded within message properties or body content. When an administrator accesses the web console and views the queue contents, the malicious script executes in the administrator's browser session.

The exploitation flow involves: (1) attacker sends specially crafted message to target queue, (2) administrator logs into ActiveMQ web console, (3) administrator navigates to queue view containing malicious message, (4) browser renders unsanitized content and executes attacker's JavaScript, (5) attacker can steal session cookies, perform administrative actions, or redirect the user to phishing pages.

Detection Methods for CVE-2020-1941

Indicators of Compromise

  • Unusual JavaScript or HTML tags appearing in ActiveMQ queue message contents
  • Unexpected outbound connections from systems accessing the ActiveMQ web console
  • Session cookie exfiltration attempts to external domains
  • Administrative actions performed without corresponding legitimate administrator activity

Detection Strategies

  • Monitor web console access logs for requests containing encoded script tags or JavaScript event handlers
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Deploy web application firewalls (WAF) configured to detect XSS patterns in HTTP traffic to the ActiveMQ console
  • Review queue message contents for suspicious payloads containing HTML or script elements

Monitoring Recommendations

  • Enable detailed audit logging for ActiveMQ web console access and administrative actions
  • Configure SIEM alerts for potential XSS indicators in web server logs serving the ActiveMQ console
  • Monitor for anomalous administrator session behavior that may indicate session hijacking

How to Mitigate CVE-2020-1941

Immediate Actions Required

  • Upgrade Apache ActiveMQ to version 5.15.12 or later which contains the security fix
  • Apply Oracle Critical Patch Updates if using affected Oracle products (see Oracle CPU July 2020 Alert)
  • Restrict network access to the ActiveMQ web console to trusted administrative networks only
  • Implement Content Security Policy headers to mitigate XSS impact

Patch Information

Apache has addressed this vulnerability in ActiveMQ versions after 5.15.11. Organizations should upgrade to the latest stable release. For detailed patch information, refer to the Apache ActiveMQ CVE-2020-1941 Advisory.

Oracle has released patches for affected Oracle products through multiple Critical Patch Updates. Organizations using Oracle Communications Element Manager, Session Report Manager, Session Route Manager, Diameter Signaling Router, Enterprise Repository, or FlexCube Private Banking should apply the relevant Oracle CPU updates from Oracle CPU April 2021 Alert or Oracle CPU July 2021 Alert.

Workarounds

  • Disable or restrict access to the ActiveMQ web console if not required for operations
  • Implement network segmentation to limit who can access the web console interface
  • Use a reverse proxy with XSS filtering capabilities in front of the ActiveMQ web console
  • Train administrators to avoid viewing untrusted queue contents until patches are applied
bash
# Example: Restrict ActiveMQ web console access via firewall
# Allow only trusted admin network to access web console (default port 8161)
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.1

  • EPSS Probability8.94%

  • 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
  • Apache ActiveMQ Commit Discussion

  • Apache ActiveMQ Commit Discussion

  • Apache ActiveMQ Commit Discussion

  • Oracle CPU July 2021 Alert

  • Oracle CPU April 2021 Alert

  • Oracle CPU July 2020 Alert

  • Oracle CPU October 2020 Alert
  • Vendor Resources
  • Apache ActiveMQ CVE-2020-1941 Advisory
  • Related CVEs
  • CVE-2026-40046: Apache ActiveMQ Buffer Overflow Vulnerability

  • CVE-2026-34197: Apache ActiveMQ RCE Vulnerability

  • CVE-2026-33227: Apache ActiveMQ Path Traversal Flaw

  • CVE-2025-66168: Apache ActiveMQ Buffer Overflow Flaw
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