CVE-2022-35278
Medium · 6.1CVSS
6.1
EPSS
1.7%
Published
Aug 23, 2022
CISA due date
—
Cloudanix analysis
A bug in the management console lets an attacker slip hidden web code into queue names so that anyone who looks at the console could be tricked or redirected without realizing it.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Stored cross-site scripting in the web console allows an unauthenticated attacker to persist malicious HTML or JavaScript inside address or queue names; when an administrator views the console the script executes in the victim's browser context, enabling content injection or open redirect.
Why it matters to the business
Administrators using the management console can be tricked into visiting attacker-controlled sites or executing arbitrary scripts, risking credential theft, session hijacking, or further internal pivoting with no user interaction required beyond normal console use.
How an attack unfolds
An attacker creates or renames an address or queue containing crafted HTML or JavaScript. When any authenticated console user later browses the address or queue list, the browser renders and executes the payload, which can display fake login forms or redirect the session to a malicious domain.
How to fix it
Upgrade Apache ActiveMQ Artemis to version 2.24.0 or later (commit 897d9beaefbdd4d84b7735c9ffafc82264c11c56). If immediate upgrade is not possible, restrict web-console access to trusted networks and require strong authentication.
How to confirm the fix worked
Confirm the running broker reports version 2.24.0 or newer; attempt to create an address containing a benign script tag and verify it is rendered as text rather than executed in the console.
Typical attack path
- Identify an unauthenticated or low-privileged path to create or update an address/queue name
- Craft a queue or address name containing executable HTML or a redirect payload
- Submit the malicious name through the management interface or protocol
- Wait for an administrator to load the web console address/queue view
- Capture credentials, session tokens, or perform open redirect to an attacker site
How to detect it
Review web-console access logs and broker audit logs for creation or renaming of addresses and queues containing HTML tags or javascript: URIs; correlate with subsequent unexpected outbound redirects or form submissions from administrator browsers.
What your security team should do
- Schedule upgrade to 2.24.0 within the next maintenance window
- Restrict web-console exposure to management networks only
- Enable audit logging on address and queue creation events
- Monitor EPSS trend and re-evaluate if exploitation maturity increases
The record
In Apache ActiveMQ Artemis prior to 2.24.0, an attacker could show malicious content and/or redirect users to a malicious URL in the web console by using HTML in the name of an address or queue.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.apache.activemq:artemis-server | 0 | 2.24.0 |
| Ubuntu:16.04:LTS | artemis | 0 | No fix |
| Ubuntu:18.04:LTS | artemis | 0 | No fix |
| Ubuntu:20.04:LTS | activemq | 0 | No fix |
| Ubuntu:20.04:LTS | artemis | 0 | No fix |
| Ubuntu:22.04:LTS | activemq | 0 | No fix |
| Ubuntu:22.04:LTS | artemis | 0 | No fix |
| Ubuntu:24.04:LTS | activemq | 0 | No fix |
| Ubuntu:24.04:LTS | artemis | 0 | No fix |
| Ubuntu:24.10 | activemq | 0 | No fix |
| Ubuntu:24.10 | artemis | 0 | No fix |
| Ubuntu:25.04 | activemq | 0 | No fix |
| Ubuntu:25.04 | artemis | 0 | No fix |
| Ubuntu:25.10 | activemq | 0 | No fix |
| Ubuntu:25.10 | artemis | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | activemq | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | artemis | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | activemq | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | artemis | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | activemq | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | artemis | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | activemq | 0 | No fix |
Related vulnerabilities
- GHSA-fw88-pf9m-p947 Apache Artemis and Apache ActiveMQ Artemis are Missing Authentication for Critical… Also affects org.apache.activemq:artemis-server
- CVE-2026-27446 Missing Authentication for Critical Function (CWE-306) vulnerability in Apache Artemis… Also affects org.apache.activemq:artemis-server
- CVE-2021-26117 The optional ActiveMQ LDAP login module can be configured to use anonymous access to the… Also affects activemq
- CVE-2015-7559 It was found that the Apache ActiveMQ client before 5.14.5 exposed a remote shutdown… Also affects activemq
- CVE-2016-3088 The Fileserver web application in Apache ActiveMQ 5.x before 5.14.0 allows remote… Also affects activemq
- CVE-2026-96379 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96382 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96368 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79