Skip to main content

Apache ActiveMQ CVE-2026-41043

| EUVDEUVD-2026-25411 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-24 apache GHSA-2jp3-2923-9h52
6.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid ActiveMQ credentials
  2. Delivery
    Inject HTML/JavaScript in JMS selector field
  3. Exploit
    Access queue via web console
  4. Execution
    Content-Type override triggered
  5. Persist
    Malicious script executes in admin's browser
  6. Impact
    Exfiltrate session cookies or trigger unauthorized actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must possess valid authentication credentials to access the Apache ActiveMQ web console. The vulnerability manifests only when an attacker injects HTML markup into a JMS selector field and the web application fails to sanitize the output before rendering it in the queue browsing interface. Additionally, the attacker must be able to influence or control the HTTP Content-Type response header sent to victims, or victims must manually override content type during queue browsing - this dependency on either header manipulation or user action may explain the low EPSS score despite the network-accessible vector. Exploitation is limited to the web console UI; command-line or programmatic ActiveMQ access is not affected. The vulnerability does not require elevated ActiveMQ roles; any authenticated user can potentially inject the payload.

Impact

CVSS 6.5 (AV:N/AC:L/PR:N/UI:N/S:U) indicates network-accessible XSS with low attack complexity and no privileges required, which normally suggests significant risk. However, multiple signals contradict this apparent severity. First, the description explicitly states 'authenticated attacker' yet the CVSS vector shows PR:N (no privilege required) - this is a material discrepancy that suggests the vector may be incorrect or reflects a different attack pathway than described. Second, EPSS score of 0.02% (6th percentile) is exceptionally low, indicating exploitation is unlikely in practice despite the accessible vector. Third, CISA SSVC assessment shows 'Exploitation: none' (no evidence of active exploitation), 'Automatable: yes' (trivial to execute if conditions are met), and 'Technical Impact: partial' (confined to information disclosure and integrity of displayed content). The low EPSS and SSVC findings together suggest this is a real but low-probability risk in active deployments - likely because exploitation requires valid credentials, post-compromise disclosure, or a watering-hole attack against queue administrators. For defenders: prioritize patching production systems but do not treat as emergency if access controls restrict who can authenticate to ActiveMQ. Data conflict note: CVSS PR:N contradicts description's 'authenticated attacker' requirement - validate credential necessity with vendor before risk decisions.

Exploit ScenarioDerived

An authenticated user with access to the ActiveMQ web console crafts a malicious JMS selector containing JavaScript (e.g., in a stored queue name or selector field). When another administrator browses the queue list, they override the HTTP Content-Type response header to 'text/html' instead of the application's default XML, causing the injected JavaScript to execute in their browser context with their privilege level, potentially stealing session tokens or credentials.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 24, 2026

Stored XSS in Apache ActiveMQ and Apache ActiveMQ Web allows authenticated attackers to inject malicious HTML into JMS selector fields, which displays when other users browse queues in the web console. Affects ActiveMQ versions before 5.19.6 and 6.0.0 through 6.2.4; ActiveMQ Web before 5.19.6 and 6.0.0 through 6.2.4. The vulnerability requires valid authentication but no user interaction beyond normal queue browsing, and EPSS indicates very low exploitation probability (0.02%) despite the accessible attack vector.

RemediationAI

Upgrade Apache ActiveMQ to version 5.19.6 or 6.2.5 or later, which includes input sanitization for JMS selector fields. For ActiveMQ Web, apply the same version upgrades. If immediate patching is not possible, implement access controls to restrict web console authentication to trusted administrators only, verify that Content-Type handling is enforced server-side to reject HTML payloads in JMS selectors, and consider deploying a reverse proxy with request filtering to block HTML tags in selector parameters. Note that these compensating controls do not eliminate the vulnerability but reduce exposure by limiting who can exploit it and by blocking the most obvious attack vectors.

Affected VersionsENISA

Apache ActiveMQ Web 6.0.0 <6.2.5
Apache ActiveMQ 0 <5.19.6
Apache ActiveMQ Web 0 <5.19.6
Apache ActiveMQ 6.0.0 <6.2.5

Affected Packages

maven org.apache.activemq:activemq-all fix: 5.19.6, 6.2.5
maven org.apache.activemq:activemq-broker fix: 5.19.6, 6.2.5
maven org.apache.activemq:apache-activemq fix: 5.19.6, 6.2.5
euvd apache_activemq fix: 5.19.6, 6.2.5
euvd apache_activemq_web fix: 5.19.6, 6.2.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache ActiveMQ is a message broker that includes a web console for queue management. The vulnerability exists in the JMS selector field handling within the web UI, where the application fails to properly neutralize HTML markup when rendering queue content. Instead of sanitizing or encoding user-supplied input in the JMS selector field, the web console permits an authenticated user to override the content type header from XML to HTML, causing injected HTML tags to be interpreted as executable markup rather than data. This is a classic reflected/stored XSS vulnerability (CWE-79) where the application trusts the content-type negotiation mechanism without validating the actual payload content. The vulnerability spans across both the core ActiveMQ product and the dedicated ActiveMQ Web component across major version lines (5.x and 6.x).

Know when Apache Activemq gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Red Hat 4.6 MEDIUM

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
Patch released
Apr 27, 2026 - 14:49 nvd
Patch available
CVSS changed
Apr 24, 2026 - 19:22 NVD
6.5 (None) 6.5 (MEDIUM)
Patch available
Apr 24, 2026 - 12:16 EUVD
CVE Published
Apr 24, 2026 - 10:16 nvd
MEDIUM 6.5

DescriptionCVE.org

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in Apache ActiveMQ, Apache ActiveMQ Web.

An authenticated attacker can show malicious content when browsing queues in the web console by overriding the content type to be HTML (instead of XML) and by injecting HTML into a JMS selector field.

This issue affects Apache ActiveMQ: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ Web: before 5.19.6, from 6.0.0 before 6.2.5.

Users are recommended to upgrade to version 6.2.5 or 5.19.6, which fixes the issue.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 maven packages depend on org.apache.activemq:activemq-all (3 direct, 3 indirect)
  • 21 maven packages depend on org.apache.activemq:activemq-broker (14 direct, 7 indirect)

Ecosystem-wide dependent count for version 6.0.0 and other introduced versions.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-34197 HIGH POC
8.8 Apr 07

Remote code execution in Apache ActiveMQ Classic versions before 5.19.5 and 6.0.0-6.2.2 allows authenticated attackers t

CVE-2026-40466 HIGH POC
8.8 Apr 24

Remote code execution in Apache ActiveMQ 5.x (before 5.19.6) and 6.x (before 6.2.5) allows authenticated attackers to by

CVE-2026-41044 HIGH
8.8 Apr 24

Remote code execution in Apache ActiveMQ allows authenticated attackers with admin console access to inject malicious Sp

CVE-2026-49877 HIGH
8.1 Jun 30

Privilege escalation via improper authorization in Apache ActiveMQ before 5.19.8 and 6.0.0 before 6.2.7 lets an authenti

CVE-2026-49432 HIGH
7.5 Jun 30

Denial-of-service in Apache ActiveMQ STOMP connectors lets a remote peer that can reach an exposed STOMP port crash or e

CVE-2026-50734 HIGH
7.5 Jun 30

Denial of service in Apache ActiveMQ (Client, broker, and All distributions) before 5.19.8 and 6.x before 6.2.7 lets a r

CVE-2026-50750 HIGH
7.5 Jun 30

Remote denial of service in Apache ActiveMQ (versions 5.19.7 and 6.2.6) allows an unauthenticated attacker to exhaust br

CVE-2026-49434 HIGH
7.5 Jun 30

Improper input validation in Apache ActiveMQ lets an attacker who can write or modify LDAP entries matching the broker's

CVE-2026-39304 HIGH
7.5 Apr 10

Out-of-memory denial of service in Apache ActiveMQ allows unauthenticated remote attackers to exhaust broker memory via

CVE-2026-40046 HIGH
7.5 Apr 09

Remote denial-of-service in Apache ActiveMQ 6.0.0 through 6.2.3 allows unauthenticated network attackers to crash the MQ

CVE-2026-33227 MEDIUM
4.3 Apr 07

Improper path validation in Apache ActiveMQ Client and Broker allows authenticated users to traverse the classpath via c

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy