CVE-2026-42253: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Apache Software Foundation Apache ActiveMQ
Apache ActiveMQ contains a cross-site scripting (XSS) vulnerability in its web console API's MessageServlet. The servlet copies JMS message properties into HTTP response headers without validation, allowing potential injection or overwriting of security headers. This affects Apache ActiveMQ versions before 5.19.7 and versions from 6.0.0 before 6.2.6. The vulnerability has a medium severity rating with a CVSS score of 6.1. The MessageServlet has been deprecated and disabled by default in fixed versions. Users are advised to upgrade to Apache ActiveMQ 5.19.7 or 6.2.6 or later to remediate this issue.
AI Analysis
Technical Summary
CVE-2026-42253 is a CWE-79 cross-site scripting vulnerability in Apache ActiveMQ's web console API. The MessageServlet copies all JMS message properties directly into HTTP response headers without validation, enabling attackers to inject or overwrite security headers by crafting malicious JMS messages. This vulnerability affects Apache ActiveMQ versions prior to 5.19.7 and versions from 6.0.0 up to but not including 6.2.6. The issue is addressed by deprecating and disabling the MessageServlet by default and releasing fixed versions 5.19.7 and 6.2.6.
Potential Impact
An attacker able to send JMS messages that are processed by the vulnerable MessageServlet can inject or overwrite HTTP response headers, potentially leading to cross-site scripting attacks or manipulation of security headers. This can result in limited confidentiality and integrity impacts in affected deployments. The vulnerability does not affect availability. The CVSS 3.1 base score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and partial confidentiality and integrity impact.
Mitigation Recommendations
A fix is available by upgrading Apache ActiveMQ to version 5.19.7 or 6.2.6 or later. These versions deprecate and disable the vulnerable MessageServlet by default, eliminating the attack vector. Users should apply these official updates promptly. No additional mitigations are specified or required once the upgrade is applied.
CVE-2026-42253: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Apache Software Foundation Apache ActiveMQ
Description
Apache ActiveMQ contains a cross-site scripting (XSS) vulnerability in its web console API's MessageServlet. The servlet copies JMS message properties into HTTP response headers without validation, allowing potential injection or overwriting of security headers. This affects Apache ActiveMQ versions before 5.19.7 and versions from 6.0.0 before 6.2.6. The vulnerability has a medium severity rating with a CVSS score of 6.1. The MessageServlet has been deprecated and disabled by default in fixed versions. Users are advised to upgrade to Apache ActiveMQ 5.19.7 or 6.2.6 or later to remediate this issue.
CVSS v3.1
Score 6.1medium
Affected software
pkg:maven/org.apache.activemq/activemqpkg:maven/org.apache.activemq/activemq-webRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42253 is a CWE-79 cross-site scripting vulnerability in Apache ActiveMQ's web console API. The MessageServlet copies all JMS message properties directly into HTTP response headers without validation, enabling attackers to inject or overwrite security headers by crafting malicious JMS messages. This vulnerability affects Apache ActiveMQ versions prior to 5.19.7 and versions from 6.0.0 up to but not including 6.2.6. The issue is addressed by deprecating and disabling the MessageServlet by default and releasing fixed versions 5.19.7 and 6.2.6.
Potential Impact
An attacker able to send JMS messages that are processed by the vulnerable MessageServlet can inject or overwrite HTTP response headers, potentially leading to cross-site scripting attacks or manipulation of security headers. This can result in limited confidentiality and integrity impacts in affected deployments. The vulnerability does not affect availability. The CVSS 3.1 base score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and partial confidentiality and integrity impact.
Mitigation Recommendations
A fix is available by upgrading Apache ActiveMQ to version 5.19.7 or 6.2.6 or later. These versions deprecate and disable the vulnerable MessageServlet by default, eliminating the attack vector. Users should apply these official updates promptly. No additional mitigations are specified or required once the upgrade is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-25T19:48:04.140Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1d4e71e29bf47b50cd497b
Added to database: 06/01/2026, 09:18:41 UTC
Last enriched: 07/10/2026, 09:59:34 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 76
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.