What’s Vulnerable › Vulnerabilities
CVE-2026-50229: Apache Tomcat: XSS in number guess example
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-06-29 · updated 2026-10-25
- Weakness: CWE-80
Description
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 products
- Apache Tomcat: through 7.0.109; from 8.5.0 through 8.5.100; from 9.0.0 before 9.0.119; from 10.1.0 before 10.1.56; from 11.0.0 before 11.0.23 — fixed in 9.0.119, 10.1.56, 11.0.23
How to fix
Upgrade to a fixed version: Apache Tomcat 9.0.119, 10.1.56, 11.0.23. Check the vendor advisory for mitigations.
References
- https://lists.apache.org/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0
- http://www.openwall.com/lists/oss-security/2026/06/29/20
Get alerted when CVE-2026-50229 or the next vulnerability affects your stack