6.1medium
Apache ActiveMQ, Apache ActiveMQ Web: HTTP Response Header Injection via JMS Message Properties
- Severity
- 6.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.02% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-8wm6-6fqh-phmcBIT-ACTIVEMQ-2026-42253
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
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.activemq:apache-activemq | before 5.19.7, from 6.0.0 before 6.2.6 | CVE List |
| org.apache.activemq:activemq-web | before 5.19.7, from 6.0.0 before 6.2.6 | CVE List |
| org.apache.activemq:apache-activemq (Maven) | before 5.19.7, from 6.0.0 before 6.2.6 | GitHub Advisory Database |
| org.apache.activemq:activemq-web (Maven) | before 5.19.7, from 6.0.0 before 6.2.6 | GitHub Advisory Database |
| apache activemq | before 5.19.7, from 6.0.0 before 6.2.6 | NVD |
| apache activemq_web | before 5.19.7, from 6.0.0 before 6.2.6 | NVD |
| activemq (Bitnami) | before 5.19.7, from 6.0.0 before 6.2.6 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Vulnerabilidad de Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') en Apache ActiveMQ, Apache ActiveMQ Web. El MessageServlet en la API de la consola web de ActiveMQ copia cada propiedad de mensaje JMS en un encabezado de respuesta HTTP sin ninguna validación. Esto puede permitir sobrescribir e inyectar encabezados de seguridad al establecerlos en mensajes JMS que son devueltos por el servlet. Este problema afecta a Apache ActiveMQ: anterior a 5.19.7, desde 6.0.0 anterior a 6.2.6; Apache ActiveMQ Web: anterior a 5.19.7, desde 6.0.0 anterior a 6.2.6. Se recomienda a los usuarios actualizar a la versión 5.19.7 o 6.2.6, que corrige el problema. El MessageServlet ahora ha sido declarado obsoleto y deshabilitado por defecto.
References
| https://lists.apache.org/thread/j9vmlc410ht5f28fc98gx75jcbq62j00 | advisory, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2026/05/31/17 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-42253 | advisory, web | |
| https://github.com/apache/activemq | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42253 changed 2026-06-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8wm6-6fqh-phmc changed 2026-07-09 | CC-BY-4.0 |
| NVD | CVE-2026-42253 changed 2026-07-22 | Public domain |
| Bitnami Vulnerability Database | BIT-ACTIVEMQ-2026-42253 changed 2026-09-08 | Apache-2.0 |