Apache ActiveMQ, Apache ActiveMQ Web Console vulnerable to Cross-site Scripting
Published 30 Jun 2026 · Updated 5 Nov 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.8
- Fixed in
- 5.19.8
mvn versions:use-dep-version -Dincludes=org.apache.activemq:apache-activemq -DdepVersion=5.19.8 -DforceVersion=true- Affected
- >=6.0.0 <6.2.7
- Fixed in
- 6.2.7
mvn versions:use-dep-version -Dincludes=org.apache.activemq:apache-activemq -DdepVersion=6.2.7 -DforceVersion=true- Affected
- <5.19.8
- Fixed in
- 5.19.8
mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-web-console -DdepVersion=5.19.8 -DforceVersion=true- Affected
- >=6.0.0 <6.2.7
- Fixed in
- 6.2.7
mvn versions:use-dep-version -Dincludes=org.apache.activemq:activemq-web-console -DdepVersion=6.2.7 -DforceVersion=trueDetails
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Apache ActiveMQ, Apache ActiveMQ Web Console.
The browse page in the web console renders a message Id directly without sanitization. This allows an authenticated producer to send a message with a JMS message ID that has been crafted to contain HTML/JavaScript such that when an administrator browses the queue in the Web Console, the payload executes in their browser. This issue affects Apache ActiveMQ: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ Web Console: before 5.19.8, from 6.0.0 before 6.2.7.
Users are recommended to upgrade to version 6.2.7 or 5.19.8, which fixes the issue.
Is GHSA-j548-68g5-9j7x 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
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-52760
- Linkgithub.com/apache/activemq/pull/2089
- Linkgithub.com/apache/activemq/commit/1cbe5ab1122e299852b821ba33e7abd0cd76f77c
- Linkgithub.com/apache/activemq/commit/90c509f49b88fa71a55020e7ebb5d7264d7804e9
- Linkgithub.com/apache/activemq/commit/ea5a33ce87a203e0c8335f46f976e0a29c90f18a
- Packagegithub.com/apache/activemq
- Linkgithub.com/apache/activemq/releases/tag/activemq-5.19.8
- Linkgithub.com/apache/activemq/releases/tag/activemq-6.2.7
- Linklists.apache.org/thread/d3mhyo2116nomz2lwxppyy4pclvdxq3n
- Linkwww.openwall.com/lists/oss-security/2026/06/29/12
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.