GHSA-j548-68g5-9j7x
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain producer credentials
-
DeliveryConnect to ActiveMQ broker
-
ExploitCraft JMS message with malicious script ID
-
InstallPublish message to target queue
-
C2Wait for admin to browse queue in Web Console
-
ExecuteExecute JavaScript in admin browser
-
ImpactSteal session token or perform admin 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 | The attacker must hold authenticated credentials as a JMS message producer with write access to at least one queue on the target broker - unauthenticated exploitation is not possible. An administrator must subsequently navigate to the Web Console browse page for the poisoned queue; without this human action the payload never fires. The Web Console must be enabled and network-reachable by the attacker (default port 8161). The limiting factors are: (1) producer-level authentication, which prevents anonymous or internet-scale exploitation; (2) required administrator interaction with a specific queue page, introducing timing dependency; (3) the Web Console must not be restricted to localhost or VPN. There is no indication that a non-default configuration is required beyond the Web Console being accessible - it is enabled by default in standard ActiveMQ deployments. |
| Impact | No CVSS vector was published by NVD at time of analysis, so all metric assessments are independently derived from the description. The attack requires the adversary to hold valid credentials as a message producer - an authenticated role - and a separate human action (an administrator browsing the queue) before the payload fires, corresponding to PR:L and UI:R in CVSS 3.1 terms. These two prerequisites substantially constrain the exploitable population compared to an unauthenticated, zero-interaction flaw. No EPSS score is available, and the vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation. Real-world risk centers on insider threat or scenarios where broker producer credentials are compromised; external attacker risk is lower because gaining producer access typically requires authenticating to the broker. The moderate severity designation from Apache is consistent with these constraints. The primary impact is admin account takeover through session hijacking, which could subsequently grant full broker control. |
| Exploit ScenarioDerived | An attacker with valid message-producer credentials connects to the ActiveMQ broker and publishes a message whose JMS message ID is set to a value containing an HTML script tag with JavaScript (e.g., a session-stealing payload targeting document.cookie). The malicious message ID is stored in the broker. When a broker administrator opens the queue browse page in the Web Console, the script executes silently in the administrator's browser, exfiltrating their session token to an attacker-controlled endpoint and granting full administrative access to the broker. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
Stored cross-site scripting in Apache ActiveMQ Web Console allows an authenticated message producer to inject malicious JavaScript via a crafted JMS message ID, which executes in the browser of any administrator who browses the affected queue. The browse page renders message IDs without HTML sanitization, enabling privilege escalation from producer to administrator via session hijacking or credential theft. No public exploit identified at time of analysis and not listed in CISA KEV; rated moderate severity by Apache, consistent with the authentication prerequisite and required user interaction.
RemediationAI
Upgrade to Apache ActiveMQ 6.2.7 (for 6.x deployments) or 5.19.8 (for 5.x deployments), both released June 29, 2026 and confirmed as the official fixes by the Apache advisory at https://activemq.apache.org/. If an immediate upgrade is not possible, restrict access to the ActiveMQ Web Console to trusted internal networks or VPN-only segments - this limits the damage by ensuring only already-trusted administrators can trigger the payload. Additionally, consider disabling or firewalling the Web Console port (default 8161) entirely and using CLI tooling (activemq-cli or JMX) for queue inspection as a compensating control; note that disabling the console removes administrative visibility and may impact operational monitoring. Do not rely on network controls alone as a permanent fix, since authenticated insider producers still pose a risk within the trusted network perimeter.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 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
The vulnerability resides in the queue browse page of the ActiveMQ Web Console, a Java-based administrative interface bundled with Apache ActiveMQ (org.apache.activemq:apache-activemq and org.apache.activemq:apache-web-console). JMS message IDs are application-level metadata fields that a connected producer controls at send time. The root cause is the absence of output encoding when the Web Console renders these IDs into HTML - a textbook CWE-79 (Improper Neutralization of Input During Web Page Generation) flaw. Because the malicious payload is stored in the broker's message store and replayed to every administrator who browses the queue, this is a persistent (stored) XSS rather than a reflected variant, amplifying the window of exploitation beyond a single request.
Know when 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:R/S:C/C:L/I:L/A:N
Producer authentication requires PR:L; admin must browse queue so UI:R; XSS executes in admin browser changing scope S:C with limited session-level C and I impact.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Blast Radius
ecosystem impact- 1 maven packages depend on org.apache.activemq:activemq-web-console (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 6.0.0.
Articles & Coverage 3
Executive ViewAI
Apache ActiveMQ Web Console contains a stored cross-site scripting vulnerability (CVE-2026-52760) that allows authenticated message producers to inject malicious code into queue message IDs, which executes when administrators view those queues-potentially compromising administrative credentials and session tokens. An attacker with producer credentials can escalate privileges to full administrative control over the messaging infrastructure. No patch is currently available from Apache.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict Web Console access via network segmentation to administrative trusted networks only; (2) Disable Web Console if not operationally critical, pending patch availability; (3) Reduce attack surface by auditing and deactivating unused producer accounts; (4) Implement message ID format validation and sanitization in producer applications to reject suspicious payloads; (5) Monitor Web Console access logs for unauthorized or impossible-travel administrator logins and failed authentication attempts.
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.
XStream before version 1.4.14 is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker to ru
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi
Directory traversal vulnerability in the fileserver upload/download functionality for blob messages in Apache ActiveMQ 5
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.9), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 7.5), this vulnerability
Apache ActiveMQ 5.x before 5.13.0 does not restrict the classes that can be serialized in the broker, which allows remot
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 8.6), this vulnerability
XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 7.5), this vulnerability
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi
EUVD-2026-40279
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB