CVE-2026-42253

Published Jun 1, 2026

Last updated 2 days ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2026-42253 describes an Improper Neutralization of Input During Web Page Generation, commonly known as a 'Cross-site Scripting' vulnerability, found in Apache ActiveMQ and Apache ActiveMQ Web. The flaw specifically resides within the MessageServlet of the ActiveMQ web console API. This servlet copies Java Message Service (JMS) message properties directly into HTTP response headers without proper validation. This oversight allows an attacker to potentially overwrite or inject security headers by manipulating JMS messages. Such an action could facilitate cross-site scripting attacks. The vulnerability impacts Apache ActiveMQ versions prior to 5.19.7, and versions from 6.0.0 before 6.2.6. The same version ranges are affected for Apache ActiveMQ Web. To address this, users are advised to upgrade to Apache ActiveMQ 5.19.7 or 6.2.6, where the MessageServlet has been deprecated and disabled by default.

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.
Source
security@apache.org
NVD status
Analyzed
Products
activemq, activemq_web

Risk scores

CVSS 3.1

Type
Primary
Base score
6.1
Impact score
2.7
Exploitability score
2.8
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Severity
MEDIUM

Weaknesses

security@apache.org
CWE-79

Social media

Hype score
Not currently trending

Configurations