CVE-2026-42253
JSON

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 packageVersionsReported by
org.apache.activemq:apache-activemqbefore 5.19.7, from 6.0.0 before 6.2.6CVE List
org.apache.activemq:activemq-webbefore 5.19.7, from 6.0.0 before 6.2.6CVE List
org.apache.activemq:apache-activemq (Maven)before 5.19.7, from 6.0.0 before 6.2.6GitHub Advisory Database
org.apache.activemq:activemq-web (Maven)before 5.19.7, from 6.0.0 before 6.2.6GitHub Advisory Database
apache activemqbefore 5.19.7, from 6.0.0 before 6.2.6NVD
apache activemq_webbefore 5.19.7, from 6.0.0 before 6.2.6NVD
activemq (Bitnami)before 5.19.7, from 6.0.0 before 6.2.6Bitnami Vulnerability Database

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

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

Sources

SourceRecordLicence
CVE ListCVE-2026-42253 changed 2026-06-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-8wm6-6fqh-phmc changed 2026-07-09CC-BY-4.0
NVDCVE-2026-42253 changed 2026-07-22Public domain
Bitnami Vulnerability DatabaseBIT-ACTIVEMQ-2026-42253 changed 2026-09-08Apache-2.0