CVE-2020-13947: Cross-site scripting (XSS) in Apache ActiveMQ
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.91668%
CWE
Published
2/9/2022
Updated
3/14/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.activemq:activemq-parent | maven | >= 5.16.0, < 5.16.1 | 5.16.1 |
org.apache.activemq:activemq-parent | maven | < 5.15.14 | 5.15.14 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from improper output encoding in the URL construction logic. The original code used string concatenation with 'value' (from a dropdown selection) without URI encoding, creating an XSS vector. The patch introduced encodeURIComponent()
and JSTL <c:url> tags to properly encode parameters. The function 'confirmAction' was directly responsible for this insecure URL assembly.