CVE-2026-42253Apache Activemq
Medium 6.1 No auth needed
Follow: this CVE · Apache · Apache Activemq We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- Jun 1, 2026
- Updated
- Jul 22, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Activemq.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.activemq:activemq-web |
< 5.19.7 |
5.19.7 |
— |
| Maven | org.apache.activemq:activemq-web |
≥ 6.0.0 < 6.2.6 |
6.2.6 |
— |
| Maven | org.apache.activemq:apache-activemq |
< 5.19.7 |
5.19.7 |
— |
| Maven | org.apache.activemq:apache-activemq |
≥ 6.0.0 < 6.2.6 |
6.2.6 |
— |
Per OSV / GitHub Advisories (GHSA-8wm6-6fqh-phmc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | activemq | < 5.19.7 |
| apache | activemq | ≥ 6.0.0 < 6.2.6 |
| apache | activemq_web | < 5.19.7 |
| apache | activemq_web | ≥ 6.0.0 < 6.2.6 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory