CVE-2026-42253 PUBLISHED

Apache ActiveMQ, Apache ActiveMQ Web: HTTP Response Header Injection via JMS Message Properties

Assigner: apache
Reserved: 25.04.2026 Published: 01.06.2026 Updated: 01.06.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache ActiveMQ
Versions Default: unaffected
  • affected from 0 to 5.19.7 (excl.)
  • affected from 6.0.0 to 6.2.6 (excl.)
Vendor Apache Software Foundation
Product Apache ActiveMQ Web
Versions Default: unaffected
  • affected from 0 to 5.19.7 (excl.)
  • affected from 6.0.0 to 6.2.6 (excl.)

Credits

  • Vishal Shukla finder
  • pyn3rd finder
  • uname finder
  • 4ra1n finder

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE