CVE-2026-50229

Apache Tomcat: XSS in number guess example

State
Published
Severity
6.1 Medium
Published
Jun 29, 2026
Updated
Jun 30, 2026
Reserved
Jun 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NCISA-ADP

Weaknesses

  • CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Affected Products

ProductVersions
Apache TomcatApache Software Foundation
  • 11.0.0-M1 through 11.0.22Affected
  • 10.1.0-M1 through 10.1.55Affected
  • 9.0.0.M1 through 9.0.118Affected
  • 8.5.0 through 8.5.100Affected
  • 7.0.0 through 7.0.109Affected
  • before 7.0.0Unknown

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.