Apache ActiveMQ, Apache ActiveMQ Web have a Cross-site Scripting issue
Published 1 Jun 2026 · Updated 9 Jul 2026
Is your project on an affected org.apache.activemq:apache-activemq?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <5.19.7
- Fixed in
- 5.19.7
mvn versions:use-dep-version -Dincludes=org.apache.activemq:apache-activemq -DdepVersion=5.19.7 -DforceVersion=true- Affected
- >=6.0.0 <6.2.6
- Fixed in
- 6.2.6
mvn versions:use-dep-version -Dincludes=org.apache.activemq:apache-activemq -DdepVersion=6.2.6 -DforceVersion=true- Affected
- <5.19.7
- Fixed in
- 5.19.7
mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-web -DdepVersion=5.19.7 -DforceVersion=true- Affected
- >=6.0.0 <6.2.6
- Fixed in
- 6.2.6
mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-web -DdepVersion=6.2.6 -DforceVersion=trueDetails
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.
Is GHSA-8wm6-6fqh-phmc in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.activemq:apache-activemq, and gives you the command that fixes it.
More advisories for org.apache.activemq:apache-activemq
- HighCVE-2026-50734Apache ActiveMQ Client, Apache ActiveMQ, Apache ActiveMQ All has a Memory Allocation with Excessive Size Value vulnerability · 30 Jun 2026
- HighCVE-2026-50750Apache ActiveMQ Broker, Apache ActiveMQ, Apache ActiveMQ All have a Denial of Service via Out of Memory vulnerability · 30 Jun 2026
- HighCVE-2026-53917Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability · 30 Jun 2026
- HighCVE-2026-49877Apache ActiveMQ Improper Authorization vulnerability · 30 Jun 2026
- HighCVE-2026-49434Apache ActiveMQ Broker, Apache ActiveMQ, Apache ActiveMQ All have an Improper Input Validation vulnerability · 30 Jun 2026
- HighCVE-2026-54475Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Missing Authorization vulnerability · 30 Jun 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.