Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 1.1%top 37%

CVE-2026-42253: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Apache Software Foundation Apache ActiveMQ

0
Medium
VulnerabilityCVE-2026-42253cvecve-2026-42253cwe-79
Published: 06/01/2026 (06/01/2026, 07:23:50 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

org.apache.activemq/activemq
pkg:maven/org.apache.activemq/activemq
Affected versions
<5.19.7>=6.0.0 <6.2.6=6.0.0
org.apache.activemq/activemq-web
pkg:maven/org.apache.activemq/activemq-web
Affected versions
<5.19.7>=6.0.0 <6.2.6=6.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 09:59:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses