Cross-site scripting in Apache Tomcat - CVE-2026-50229

 

Cross-site scripting in Apache Tomcat - CVE-2026-50229

Published: June 30, 2026


Vulnerability identifier: #VU135867
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-50229
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
Apache Tomcat

Detailed vulnerability description

The vulnerability allows a remote attacker to execute cross-site scripting.

The vulnerability exists due to cross-site scripting in the number guess example when using wild card property mapping that exposes internal properties to clients. A remote attacker can supply crafted input that is reflected through exposed properties to execute cross-site scripting.

The issue is limited to the number guess example application.


How to mitigate CVE-2026-50229

Install security update from vendor's website.

Sources