CVE-2026-42253
Apache ActiveMQ, Apache ActiveMQ Web have a Cross-site Scripting issue
Description
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.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.activemq » activemq-web | < 5.19.7>= 6.0.0, < 6.2.6 | 5.19.7, 6.2.6 |
| org.apache.activemq » apache-activemq | < 5.19.7>= 6.0.0, < 6.2.6 | 5.19.7, 6.2.6 |
Blast radius
62% of the dependent artifacts (199) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,912 |
| 2 hops | 1,530 |
| 3 hops | 1,496 |
| 4 hops | 1,268 |
| 5 hops | 99 |
| 6 hops | 22 |
Most used dependents
- org.wso2.carbon.automation » org.wso2.carbon.automation.extensions159 usages
- org.wso2.carbon.automationutils » org.wso2.carbon.integration.common.extensions144 usages
- org.wso2.carbon.automationutils » org.wso2.carbon.integration.common.tests124 usages
- org.wso2.ei » automation-extensions64 usages
- org.wso2.ei » integration-test-utils53 usages
- org.apache.camel » camel-activemq47 usages
- org.apache.activemq » activemq-osgi43 usages
- de.mhus.osgi » osgi-api30 usages
- de.mhus.osgi » mhu-osgi-services26 usages
- de.mhus.osgi » mhu-osgi-api25 usages
- com.googlecode.the-fascinator » fascinator-portal17 usages
- de.mhus.osgi » mhu-sop-api17 usages
- org.apache.activemq » apache-activemq15 usages
- io.fabric8 » fabric8-karaf15 usages
- net.osgiliath.framework » net.osgiliath.features.karaf-features.itests.feature15 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-42253 | nvd.nist.gov |
| Package | apache/activemq | github.com |
| Web | thread/j9vmlc410ht5f28fc98gx75jcbq62j00 | lists.apache.org |
| Web | lists/oss-security/2026/05/31/17 | openwall.com |
