CVE-2026-50229

GHSA-pg42-rg8c-j886 · published 29 Jun 2026 · updated 4 Nov 2026

Apache Tomcat: XSS in number guess example

7.1HighCVSS 6.1EPSS 4%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in org.apache.tomcat:tomcat 10.1.56, org.apache.tomcat:tomcat 11.0.23 and org.apache.tomcat:tomcat 9.0.119.

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in the number guess example for Apache Tomcat. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.22, from 10.1.0-M1 through 10.1.55, from 9.0.0.M1 through 9.0.118, from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109. Other versions that have reached end of support may also be affected. Users are recommended to upgrade to version 11.0.23, 10.1.56 or 9.0.119, which fix the issue.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=10.1.0-M1 <=10.1.55, >=11.0.0-M1 <=11.0.22, >=7.0.0 <=7.0.109, >=8.5.0 <=8.5.100, >=9.0.0.M1 <=9.0.118
maven: org.apache.tomcat:tomcat<=7.0.109, >=10.1.0-M1 <10.1.56, >=11.0.0-M1 <11.0.23, >=8.5.0 <=8.5.100, >=9.0.0.M1 <9.0.11910.1.56, 11.0.23, 9.0.119

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in org.apache.tomcat:tomcat (Maven), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-50229 severity on Zeptric[![CVE-2026-50229](https://zeptric.io/badge/cve/CVE-2026-50229.svg)](https://zeptric.io/cve/CVE-2026-50229)