CVE-2026-42253: Apache ActiveMQ
Medium severity, CVSS 6.1. EPSS: 0.7% probability of exploitation activity in the next 30 days.
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
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Apache ActiveMQ, before 5.19.7: fixed in 5.19.7
- Apache ActiveMQ, from 6.0.0, before 6.2.6: fixed in 6.2.6
- Apache ActiveMQ Web, before 5.19.7: fixed in 5.19.7
- Apache ActiveMQ Web, from 6.0.0, before 6.2.6: fixed in 6.2.6
Affected products
- Apache ActiveMQ: before 5.19.7 (fixed in 5.19.7); from 6.0.0, before 6.2.6 (fixed in 6.2.6)
- Apache ActiveMQ Web: before 5.19.7 (fixed in 5.19.7); from 6.0.0, before 6.2.6 (fixed in 6.2.6)
Affected packages
Published 2026-06-01. Last modified 2026-07-22.