Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker gains JMS producer access to broker
-
DeliveryPublish message with security-header-named properties
-
ExploitVictim console user browses affected queue
-
ExecutionMessageServlet copies properties into HTTP response headers
-
PersistBrowser security headers overridden
-
ImpactSecondary browser-side attack executed against victim session
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 | Exploitation requires two preconditions that must both be satisfied: first, the attacker must be able to publish JMS messages with arbitrary properties to a queue or topic that is browsable via the ActiveMQ web console's MessageServlet - this requires JMS producer access to the broker (via the AMQP, OpenWire, or STOMP protocol), which may or may not be authenticated depending on the broker configuration. Second, a legitimate web console user must be active and must be lured or naturally navigate to browse the message in question through the MessageServlet endpoint. The UI:R CVSS component confirms that fully automated exploitation without victim interaction is not possible. Exploitation is also limited to deployments where the MessageServlet is enabled (it is disabled by default in patched versions 5.19.7 and 6.2.6). The web console must be network-accessible to the attacker for the header injection to reach a victim's browser, though the attacker does not need web console credentials per the PR:N CVSS rating. |
| Impact | CVSS 6.1 Medium with vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N places this in a medium-severity band. The AV:N/AC:L/PR:N components appear permissive, but UI:R is a hard limiting factor - exploitation requires a web console user to be socially engineered or lured into viewing attacker-controlled messages through the MessageServlet. EPSS of 0.03% at the 9th percentile corroborates low real-world exploitation probability, and the vulnerability is not listed in CISA KEV. No public proof-of-concept code has been identified at time of analysis. The Scope:Changed and C:L/I:L impacts are consistent with the ability to suppress browser security headers, which can be chained into secondary browser-side attacks, but this is an indirect impact rather than direct RCE or data exfiltration. In practice, this is a medium-priority patching item for organizations running the ActiveMQ web console with public or untrusted access, but not an emergency escalation. The PR:N rating refers to the attacker not needing web console credentials - they still need the ability to publish JMS messages to the broker, which is a separate access boundary not reflected in the CVSS score and should be factored into local risk calculations. |
| Exploit ScenarioDerived | An attacker with JMS producer access to the broker publishes a message to a queue with properties named after security headers (e.g., Content-Security-Policy set to an empty or permissive value). A web console administrator browsing that queue via the MessageServlet receives an HTTP response with the injected headers, stripping their browser's security policy for that page context. No public proof-of-concept exists at time of analysis, but the attack mechanism is straightforward given the description. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
HTTP response header injection in Apache ActiveMQ's web console MessageServlet exposes users to security header override and cross-site scripting attacks. The servlet copies every JMS message property directly into HTTP response headers without sanitization, meaning an attacker who can publish crafted JMS messages to a broker queue can override headers such as Content-Security-Policy or X-Frame-Options when a web console user views those messages. No public exploit has been identified at time of analysis, and EPSS of 0.03% (9th percentile) reflects low observed exploitation probability, though the no-privilege-required CVSS vector and Scope:Changed score signal meaningful impact on browser security posture if exploited.
RemediationAI
Upgrade Apache ActiveMQ and Apache ActiveMQ Web to version 5.19.7 (for the 5.x branch) or 6.2.6 (for the 6.x branch), both confirmed as patched releases per vendor advisory at https://lists.apache.org/thread/j9vmlc410ht5f28fc98gx75jcbq62j00. In the patched versions, the MessageServlet has been deprecated and disabled by default, eliminating the vulnerable code path entirely. For deployments where immediate upgrade is not feasible, manually disabling or restricting access to the MessageServlet endpoint is the most effective compensating control - note that this will remove the ability to browse JMS messages from the web console. Additionally, restricting network access to the ActiveMQ web console to trusted internal networks or VPN reduces the attacker's ability to leverage injected headers against console users. Enforcing strong broker-level authentication for JMS producers limits who can plant malicious message properties, addressing the upstream condition for exploitation.
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
Apache ActiveMQ's built-in web console exposes a MessageServlet that allows users to browse JMS messages stored in queues and topics. The vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) occurs because this servlet reflects JMS message properties - arbitrary key-value metadata attached to messages - directly into HTTP response headers with no input validation or encoding. This is effectively an HTTP Response Header Injection issue classified under the XSS umbrella: injected headers can suppress or overwrite security directives like Content-Security-Policy, X-Frame-Options, or Strict-Transport-Security, degrading the browser's security posture for the victim's session. Affected CPE ranges cover Apache ActiveMQ and Apache ActiveMQ Web prior to 5.19.7, and from 6.0.0 through versions before 6.2.6. The CVSS Scope:Changed (S:C) reflects that the impact escapes the application boundary and affects the victim's browser context.
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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Apache ActiveMQ, Apache ActiveMQ Web.
The MessageServlet in the ActiveMQ web console API copies every JMS message property into an HTTP response header without any validation. This can allow overwriting and injecting security headers by setting them on JMS messages that are returned by the servlet.
This issue affects Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ Web: before 5.19.7, from 6.0.0 before 6.2.6.
Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue. The MessageServlet has now been deprecated and disabled by default.
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-33578
GHSA-8wm6-6fqh-phmc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB