Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid ActiveMQ credentials
-
DeliveryInject HTML/JavaScript in JMS selector field
-
ExploitAccess queue via web console
-
ExecutionContent-Type override triggered
-
PersistMalicious script executes in admin's browser
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
4DescriptionCVE.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- 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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Apache Activemq
View allRemote code execution in Apache ActiveMQ Classic versions before 5.19.5 and 6.0.0-6.2.2 allows authenticated attackers t
Remote code execution in Apache ActiveMQ 5.x (before 5.19.6) and 6.x (before 6.2.5) allows authenticated attackers to by
Remote code execution in Apache ActiveMQ allows authenticated attackers with admin console access to inject malicious Sp
Privilege escalation via improper authorization in Apache ActiveMQ before 5.19.8 and 6.0.0 before 6.2.7 lets an authenti
Denial-of-service in Apache ActiveMQ STOMP connectors lets a remote peer that can reach an exposed STOMP port crash or e
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
Remote denial of service in Apache ActiveMQ (versions 5.19.7 and 6.2.6) allows an unauthenticated attacker to exhaust br
Improper input validation in Apache ActiveMQ lets an attacker who can write or modify LDAP entries matching the broker's
Out-of-memory denial of service in Apache ActiveMQ allows unauthenticated remote attackers to exhaust broker memory via
Remote denial-of-service in Apache ActiveMQ 6.0.0 through 6.2.3 allows unauthenticated network attackers to crash the MQ
Improper path validation in Apache ActiveMQ Client and Broker allows authenticated users to traverse the classpath via c
EUVD-2026-25411
GHSA-2jp3-2923-9h52
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB