Vulnerability · Published Jun 1, 2026 · Assigned by apache
CVE-2026-42253Apache ActiveMQ, Apache ActiveMQ Web: HTTP Response Header Injection via JMS Message Properties
Medium 6.1
In plain English
A medium-severity cross-site scripting in Apache ActiveMQ from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | activemq | no fix listed | DEBIAN-CVE-2026-42253 |
| Debian:13 | activemq | no fix listed | DEBIAN-CVE-2026-42253 |
| Maven | org.apache.activemq:activemq-web | 5.19.7 | GHSA-8wm6-6fqh-phmc |
| Maven | org.apache.activemq:activemq-web | 6.2.6 | GHSA-8wm6-6fqh-phmc |
| Maven | org.apache.activemq:apache-activemq | 5.19.7 | GHSA-8wm6-6fqh-phmc |
| Maven | org.apache.activemq:apache-activemq | 6.2.6 | GHSA-8wm6-6fqh-phmc |
| Ubuntu:24.04:LTS | activemq | no fix listed | UBUNTU-CVE-2026-42253 |
| Ubuntu:25.10 | activemq | no fix listed | UBUNTU-CVE-2026-42253 |
| Ubuntu:26.04:LTS | activemq | no fix listed | UBUNTU-CVE-2026-42253 |
| Ubuntu:26.10 | activemq | no fix listed | UBUNTU-CVE-2026-42253 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache ActiveMQ | 0 – before 5.19.76.0.0 – before 6.2.6 |
| Apache Software Foundation | Apache ActiveMQ Web | 0 – before 5.19.76.0.0 – before 6.2.6 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N