Vulnerabilities in pkg:maven/org.apache.activemq/artemis-server
PACKAGECVE-2022-35278 is a MODERATE (CVSS 6.1) html injection vulnerability (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)) affecting Artemis server libraries in the Maven ecosystem. The issue involves html injection in activemq artemis web console. Remediation is available by upgrading affected packages to version 2.24.0.
pkg:maven/org.apache.activemq/artemis-server
Vulnerability advisories affecting package pkg:maven/org.apache.activemq/artemis-server. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-cv6r-h2fm-pvrp | CVE-2022-35278 | MODERATE | HTML Injection in ActiveMQ Artemis Web Console |
| GHSA-fw88-pf9m-p947 | CVE-2026-27446 | CRITICAL | Apache Artemis and Apache ActiveMQ Artemis are Missing Authentication for Critical Functions |
| GHSA-3w85-5p9g-h334 | CVE-2025-27427 | LOW | Apache ActiveMQ Artemis User Without Create Address Permissions can Modify Address Routing-Type |
CVE-2022-35278 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2022-35278
To remediate this vulnerability, upgrade all affected Artemis server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-server</artifactId>
<version>2.24.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.activemq
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-35278, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.activemq
Analyze the terminal output to locate any version of Artemis server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.24.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.activemq command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. In Artemis server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-35278 Affected Artemis server Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.activemq:artemis-server
|
Maven |
< 2.24.0
|
2.24.0
|
References
Frequently Asked Questions
What is CVE-2022-35278?
Which Artemis server versions are affected?
What version fixes CVE-2022-35278?
Is artemis-server affected?
What is the CVSS score of CVE-2022-35278?
What CWE is associated with CVE-2022-35278?
How can I check Maven dependencies for CVE-2022-35278?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cv6r-h2fm-pvrp",
"modified" : "2026-07-08T17:32:09Z",
"published" : "2022-08-24T00:00:29Z",
"aliases" : [ "CVE-2022-35278" ],
"summary" : "HTML Injection in ActiveMQ Artemis Web Console",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.activemq:artemis-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.24.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-35278"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/bh6y81wtotg75337bpvxcjy436zfgf3n"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20221209-0005"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79", "CWE-80" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-08-30T20:48:53Z",
"nvd_published_at" : "2022-08-23T15:15:00Z"
}
}