MODERATE 6.1

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)

ArtifactAffected versionsFixed 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

2affected artifacts
1,019affected versions
318dependent artifacts (est.)
6,327dependent versions

62% of the dependent artifacts (199) still pull an affected version in their latest release.

DepthDependent 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

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

Advisorynvd.nist.gov
Packagegithub.com
Weblists.apache.org
Webopenwall.com