---
id: "CVE-2026-52760"
kind: "vulnerability"
aliases: ["CVE-2026-52760", "GHSA-j548-68g5-9j7x"]
title: "Apache ActiveMQ, Apache ActiveMQ Web Console vulnerable to Cross-site Scripting"
severity: "medium"
cvss: 6.1
epss: 0.00679
exploited: false
status: "open"
category: "package"
products: [{"name": "org.apache.activemq:apache-activemq", "fixed": ["5.19.8"], "affected": "< 5.19.8", "ecosystem": "maven"}, {"name": "org.apache.activemq:apache-activemq", "fixed": ["6.2.7"], "affected": ">= 6.0.0, < 6.2.7", "ecosystem": "maven"}, {"name": "org.apache.activemq:activemq-web-console", "fixed": ["5.19.8"], "affected": "< 5.19.8", "ecosystem": "maven"}, {"name": "org.apache.activemq:activemq-web-console", "fixed": ["6.2.7"], "affected": ">= 6.0.0, < 6.2.7", "ecosystem": "maven"}, {"name": "apache activemq", "fixed": ["5.19.8"], "affected": "< 5.19.8", "ecosystem": "vendor"}, {"name": "apache activemq", "fixed": ["6.2.7"], "affected": ">= 6.0.0, < 6.2.7", "ecosystem": "vendor"}, {"name": "apache activemq web", "fixed": ["5.19.8"], "affected": "< 5.19.8", "ecosystem": "vendor"}, {"name": "apache activemq web", "fixed": ["6.2.7"], "affected": ">= 6.0.0, < 6.2.7", "ecosystem": "vendor"}]
ecosystems: ["maven", "vendor"]
tags: ["activemq", "cwe-79", "java", "maven", "message-broker", "package"]
not_affected_if: ["fixed-version", "no-untrusted-producers", "no-web-console"]
published_at: "2026-06-30T11:16:30+00:00"
first_seen_at: "2026-11-05T17:38:59+00:00"
updated_at: "2026-11-05T17:40:05+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-j548-68g5-9j7x", "first_seen_at": "2026-11-05T17:38:59+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52760", "first_seen_at": "2026-11-05T17:40:05+00:00"}]
exploit_sources: [{"type": "epss", "score": 0.00679, "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-52760"}]
---

# Apache ActiveMQ, Apache ActiveMQ Web Console vulnerable to Cross-site Scripting

The ActiveMQ web console's browse page renders a JMS message ID without sanitization. An authenticated producer can send a message whose ID contains script, which runs in an administrator's browser when they browse the queue.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- maven:org.apache.activemq:apache-activemq affected < 5.19.8 fixed 5.19.8
- maven:org.apache.activemq:apache-activemq affected >= 6.0.0, < 6.2.7 fixed 6.2.7
- maven:org.apache.activemq:activemq-web-console affected < 5.19.8 fixed 5.19.8
- maven:org.apache.activemq:activemq-web-console affected >= 6.0.0, < 6.2.7 fixed 6.2.7
- vendor:apache activemq affected < 5.19.8 fixed 5.19.8
- vendor:apache activemq affected >= 6.0.0, < 6.2.7 fixed 6.2.7
- vendor:apache activemq web affected < 5.19.8 fixed 5.19.8
- vendor:apache activemq web affected >= 6.0.0, < 6.2.7 fixed 6.2.7

## How to check

- Check the ActiveMQ version the broker runs; affected builds are `5.19.8` and earlier and `6.0.0` up to but not including `6.2.7`.
- Check whether the web console (activemq-web-console) is deployed on the broker.

## Fix

- Apache ActiveMQ: upgrade to `5.19.8` on the 5.x line or `6.2.7` on the 6.x line.
- Apache ActiveMQ Web Console: upgrade to `5.19.8` on the 5.x line or `6.2.7` on the 6.x line.

## Timeline

- 2026-11-05T17:38:59+00:00 ghsa https://github.com/advisories/GHSA-j548-68g5-9j7x
- 2026-11-05T17:40:05+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-52760

## Documents

- [advisory] Vendor advisory: lists.apache.org https://lists.apache.org/thread/d3mhyo2116nomz2lwxppyy4pclvdxq3n
- [advisory] Third-party advisory: www.openwall.com http://www.openwall.com/lists/oss-security/2026/06/29/12
- [fix] Patch: github.com https://github.com/apache/activemq/commit/90c509f49b88fa71a55020e7ebb5d7264d7804e9
- [fix] Patch: github.com https://github.com/apache/activemq/commit/ea5a33ce87a203e0c8335f46f976e0a29c90f18a
- [fix] Patch: github.com https://github.com/apache/activemq/pull/2089
- [fix] Release: github.com https://github.com/apache/activemq/releases/tag/activemq-6.2.7
- [fix] Release: github.com https://github.com/apache/activemq/releases/tag/activemq-5.19.8
- [fix] Patch: github.com https://github.com/apache/activemq/commit/1cbe5ab1122e299852b821ba33e7abd0cd76f77c

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
