CVE-2026-41043: Apache ActiveMQ Vulnerable to Cross-site Scripting
CVE-2026-41043 · Severity: medium · CVSS 6.5 · Published 2026-04-24
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in Apache ActiveMQ, Apache ActiveMQ Web.
An authenticated attacker can show malicious content when browsing queues in the web console by overriding the content type to be HTML (instead of XML) and by injecting HTML into a JMS selector field.
This issue affects Apache ActiveMQ: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ Web: before 5.19.6, from 6.0.0 before 6.2.5.
Users are recommended to upgrade to version 6.2.5 or 5.19.6, which fixes the issue.
Yes. org.apache.activemq:activemq-all (Maven): upgrade to 5.19.6 or later; org.apache.activemq:activemq-broker (Maven): upgrade to 5.19.6 or later; org.apache.activemq:apache-activemq (Maven): upgrade to 5.19.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-41043?
Check whether you run Apache ActiveMQ, Apache Activemq Web, org.apache.activemq:activemq-all (Maven) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.apache.activemq:activemq-all (Maven): upgrade to 5.19.6 or later
# set org.apache.activemq:activemq-all to 5.19.6 in your pom.xml or build.gradle
org.apache.activemq:activemq-broker (Maven): upgrade to 5.19.6 or later
# set org.apache.activemq:activemq-broker to 5.19.6 in your pom.xml or build.gradle
org.apache.activemq:apache-activemq (Maven): upgrade to 5.19.6 or later
# set org.apache.activemq:apache-activemq to 5.19.6 in your pom.xml or build.gradle