Cross-Site Scripting Vulnerability in Apache ActiveMQ

activemq Updated 02 Oct 2025

Summary

10/01/2018
N/A
Yes i
Medium
6.1

CVE-2016-6810: In Apache ActiveMQ 5.x before 5.14.2, an instance of a cross-site scripting vulnerability was identified to be present in the web based administration console. Affects activemq across 2 version ranges.

< 5.14.2+dfsg-1 >= 38fcc0ce0178d4a6870aa4f68e2b565c1ad0aa6f, < 2462711684cba96fc9bfc274c75f6725b617a95e

Fixed in 5.14.2+dfsg-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache ActiveMQ is an open-source message broker that provides reliable messaging between distributed applications. It is widely used in enterprise systems to facilitate communication and ensure message delivery. However, a vulnerability has been discovered in the web-based administration console of Apache ActiveMQ versions prior to 5.14.2. This vulnerability allows for cross-site scripting (XSS) attacks, where an attacker can inject malicious scripts into web pages viewed by users of the console.

Vulnerability Detail

The cross-site scripting vulnerability in Apache ActiveMQ's web-based administration console arises from improper validation of user-supplied data. Attackers can exploit this vulnerability by injecting malicious scripts into the console's web pages. When unsuspecting users view these pages, the injected scripts execute in their browsers, potentially allowing the attacker to steal sensitive information, perform unauthorized actions, or manipulate the console's functionality.

How To Fix

Minimum fixed version

5.14.2+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade activemq

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable or restrict access to the web-based administration console of Apache ActiveMQ. By limiting access to trusted individuals or internal networks, the risk of exploitation can be reduced. However, this workaround may limit the functionality and convenience of the console, so upgrading to the fixed version is still the recommended solution.

Conclusion

In conclusion, Apache ActiveMQ versions prior to 5.14.2 are vulnerable to a cross-site scripting (XSS) attack in the web-based administration console. This vulnerability can be mitigated by upgrading to the fixed version or by implementing temporary workarounds. It is crucial for users to take prompt action to ensure the security of their systems. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for activemq →

Share this vulnerability

FAQ

Apache ActiveMQ is an open-source message broker that facilitates reliable messaging between distributed applications.

Cross-site scripting is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by users. These scripts can execute in the users' browsers, potentially leading to unauthorized actions or data theft.

Attackers can exploit this vulnerability by injecting malicious scripts into the web-based administration console of Apache ActiveMQ. When users view these pages, the injected scripts execute in their browsers, potentially allowing the attacker to steal sensitive information or manipulate the console's functionality.

The recommended solution is to upgrade to Apache ActiveMQ version 5.14.2 or later, which includes proper validation of user data output. This prevents the execution of injected scripts and ensures the security of the system.

As a temporary workaround, users can restrict access to the web-based administration console or limit it to trusted individuals or internal networks. However, this may limit the functionality and convenience of the console, so upgrading to the fixed version is still the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for activemq.

How To Fix

Minimum fixed version

5.14.2+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade activemq

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback