CVE-2026-42253: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Apache Software Foundation Apache ActiveMQ
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Apache ActiveMQ, Apache ActiveMQ Web. The MessageServlet in the ActiveMQ web console API copies every JMS message property into an HTTP response header without any validation. This can allow overwriting and injecting security headers by setting them on JMS messages that are returned by the servlet. This issue affects Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ Web: before 5.19.7, from 6.0.0 before 6.2.6. Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue. The MessageServlet has now been deprecated and disabled by default.
AI Analysis
Technical Summary
The vulnerability in Apache ActiveMQ involves improper neutralization of input during web page generation, specifically in the MessageServlet component of the ActiveMQ web console API. This servlet copies all JMS message properties into HTTP response headers without validation, enabling potential cross-site scripting attacks by injecting malicious headers. The flaw affects versions prior to 5.19.7 and from 6.0.0 up to but not including 6.2.6. The vendor has addressed the issue by deprecating and disabling the vulnerable MessageServlet by default and releasing fixed versions 5.19.7 and 6.2.6.
Potential Impact
Successful exploitation could allow an attacker to inject or overwrite HTTP response headers via JMS message properties, potentially leading to cross-site scripting attacks. This could affect the security posture of the web console, possibly enabling unauthorized actions or information disclosure through manipulated headers. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Users should upgrade Apache ActiveMQ to version 5.19.7 or 6.2.6, where the vulnerability is fixed. The vulnerable MessageServlet has been deprecated and disabled by default in these versions. No other mitigation steps are indicated by the vendor advisory. Patch status is not explicitly stated as 'official-fix' but the recommendation to upgrade to these versions constitutes the remediation.
CVE-2026-42253: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Apache Software Foundation Apache ActiveMQ
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Apache ActiveMQ, Apache ActiveMQ Web. The MessageServlet in the ActiveMQ web console API copies every JMS message property into an HTTP response header without any validation. This can allow overwriting and injecting security headers by setting them on JMS messages that are returned by the servlet. This issue affects Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ Web: before 5.19.7, from 6.0.0 before 6.2.6. Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue. The MessageServlet has now been deprecated and disabled by default.
CVSS v3.1
Score 6.1medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Apache ActiveMQ involves improper neutralization of input during web page generation, specifically in the MessageServlet component of the ActiveMQ web console API. This servlet copies all JMS message properties into HTTP response headers without validation, enabling potential cross-site scripting attacks by injecting malicious headers. The flaw affects versions prior to 5.19.7 and from 6.0.0 up to but not including 6.2.6. The vendor has addressed the issue by deprecating and disabling the vulnerable MessageServlet by default and releasing fixed versions 5.19.7 and 6.2.6.
Potential Impact
Successful exploitation could allow an attacker to inject or overwrite HTTP response headers via JMS message properties, potentially leading to cross-site scripting attacks. This could affect the security posture of the web console, possibly enabling unauthorized actions or information disclosure through manipulated headers. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Users should upgrade Apache ActiveMQ to version 5.19.7 or 6.2.6, where the vulnerability is fixed. The vulnerable MessageServlet has been deprecated and disabled by default in these versions. No other mitigation steps are indicated by the vendor advisory. Patch status is not explicitly stated as 'official-fix' but the recommendation to upgrade to these versions constitutes the remediation.
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: 6/1/2026, 9:18:41 AM
Last enriched: 6/1/2026, 9:36:17 AM
Last updated: 6/2/2026, 5:46:31 AM
Views: 16
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.