CVE-2026-50229: Apache Tomcat: XSS in number guess example

Published Jun 29, 2026
·
Updated

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in the number guess example for Apache Tomcat.

Affected Software

45 affected componentsFixes available
Apache Tomcat>=11.0.0-M1<=11.0.22
Apache Tomcat>=10.1.0-M1<=10.1.55
Apache Tomcat>=9.0.0.M1<=9.0.118
Apache Tomcat>=8.5.0<=8.5.100
Apache Tomcat>=7.0.0<=7.0.109
Apache Tomcat<=7.0.109
Apache Tomcat>=8.5.0<=8.5.100
Apache Tomcat>=9.0.0<9.0.119
Apache Tomcat>=10.1.0<10.1.56
Apache Tomcat>=11.0.0<11.0.23
bitnami/tomcat<9.0.101
9.0.101
bitnami/tomcat>=10.0.0<10.1.37
10.1.37
bitnami/tomcat>=11.0.0<11.0.5
11.0.5
maven/org.apache.tomcat:tomcat>=11.0.0-M1<11.0.23
11.0.23
maven/org.apache.tomcat:tomcat>=10.1.0-M1<10.1.56
10.1.56
maven/org.apache.tomcat:tomcat>=9.0.0.M1<9.0.119
9.0.119
maven/org.apache.tomcat:tomcat>=8.5.0<=8.5.100
maven/org.apache.tomcat:tomcat<=7.0.109
debian/tomcat10<10.1.60-1~deb12u1
10.1.60-1~deb12u1
debian/tomcat10<10.1.60-1~deb13u1
10.1.60-1~deb13u1
debian/tomcat10<10.1.60-1
10.1.60-1
debian/tomcat11*
debian/tomcat11<11.0.24-1
11.0.24-1
debian/tomcat9<9.0.70-2
9.0.70-2
debian/tomcat9<9.0.70-2
9.0.70-2
debian/tomcat9<9.0.70-2
9.0.70-2
debian/tomcat10<=10.1.55-1~deb12u1
10.1.60-1~deb12u110.1.60-1~deb13u110.1.60-1
debian/tomcat11<=11.0.22-1~deb13u1
11.0.24-1
debian/tomcat9
9.0.70-2
ubuntu/tomcat6*
ubuntu/tomcat8<8.0.32-1ubuntu1.13+esm2
8.0.32-1ubuntu1.13+esm2
ubuntu/tomcat7*
ubuntu/tomcat8<8.5.39-1ubuntu1~18.04.3+esm6
8.5.39-1ubuntu1~18.04.3+esm6
ubuntu/tomcat9*
ubuntu/tomcat9*
ubuntu/tomcat9*
ubuntu/tomcat10<10.1.61~us1-0ubuntu1~24.04.2
10.1.61~us1-0ubuntu1~24.04.2
ubuntu/tomcat9*
ubuntu/tomcat10*
ubuntu/tomcat11*
ubuntu/tomcat9*
ubuntu/tomcat9*
ubuntu/tomcat10<10.1.61~us1-0ubuntu1~26.04.1
10.1.61~us1-0ubuntu1~26.04.1
ubuntu/tomcat11<11.0.27~us1-0ubuntu1~26.04.1
11.0.27~us1-0ubuntu1~26.04.1
ubuntu/tomcat9*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade bitnami/tomcat to a version that resolves this vulnerability.

    Fixed in 9.0.101
  2. Upgrade

    Upgrade bitnami/tomcat to a version that resolves this vulnerability.

    Fixed in 10.1.37
  3. Upgrade

    Upgrade bitnami/tomcat to a version that resolves this vulnerability.

    Fixed in 11.0.5
  4. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat to a version that resolves this vulnerability.

    Fixed in 11.0.23
  5. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat to a version that resolves this vulnerability.

    Fixed in 10.1.56
  6. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat to a version that resolves this vulnerability.

    Fixed in 9.0.119
  7. Upgrade

    Upgrade debian/tomcat10 to a version that resolves this vulnerability.

    Fixed in 10.1.60-1~deb12u1
  8. Upgrade

    Upgrade debian/tomcat10 to a version that resolves this vulnerability.

    Fixed in 10.1.60-1~deb13u1
  9. Upgrade

    Upgrade debian/tomcat10 to a version that resolves this vulnerability.

    Fixed in 10.1.60-1
  10. Upgrade

    Upgrade debian/tomcat11 to a version that resolves this vulnerability.

    Fixed in 11.0.24-1
  11. Upgrade

    Upgrade debian/tomcat9 to a version that resolves this vulnerability.

    Fixed in 9.0.70-2
  12. Upgrade

    Upgrade debian/tomcat10 to a version that resolves this vulnerability.

    Fixed in 10.1.60-1~deb12u1Fixed in 10.1.60-1~deb13u1Fixed in 10.1.60-1
  13. Upgrade

    Upgrade ubuntu/tomcat8 to a version that resolves this vulnerability.

    Fixed in 8.0.32-1ubuntu1.13+esm2
  14. Upgrade

    Upgrade ubuntu/tomcat8 to a version that resolves this vulnerability.

    Fixed in 8.5.39-1ubuntu1~18.04.3+esm6
  15. Upgrade

    Upgrade ubuntu/tomcat10 to a version that resolves this vulnerability.

    Fixed in 10.1.61~us1-0ubuntu1~24.04.2
  16. Upgrade

    Upgrade ubuntu/tomcat10 to a version that resolves this vulnerability.

    Fixed in 10.1.61~us1-0ubuntu1~26.04.1
  17. Upgrade

    Upgrade ubuntu/tomcat11 to a version that resolves this vulnerability.

    Fixed in 11.0.27~us1-0ubuntu1~26.04.1
  18. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 11.0.23
  19. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 10.1.56
  20. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 9.0.119

Event History

Jun 29, 2026
CVE Published
via MITRE·08:36 PM
Data Sourced
via MITRE·08:36 PM
DescriptionWeakness
Data Sourced
via OSV·08:36 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·09:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:16 PM
DescriptionWeakness
Advisory Published
via OSV·09:32 PM
Jun 30, 2026
Data Sourced
via NVD·01:19 PM
Severity
Jul 2, 2026
Data Sourced
via NVD·07:24 PM
Affected Software
Jul 8, 2026
Exploit Published
via GitHub·08:56 AM
Nov 13, 2026
Updated
via OSV·01:00 AM
Affected Software
Nov 24, 2026
Data Sourced
via OSV·02:55 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-50229?

CVE-2026-50229 has a risk rating of 30, indicating a significant security concern.

2

How do I fix CVE-2026-50229?

To fix CVE-2026-50229, upgrade Apache Tomcat to a version beyond 11.0.22, 10.1.55, 9.0.118, or 8.5.100.

3

What types of applications are affected by CVE-2026-50229?

CVE-2026-50229 affects applications utilizing the number guess example within various versions of Apache Tomcat.

4

What specific vulnerability does CVE-2026-50229 describe?

CVE-2026-50229 describes an improper neutralization of script-related HTML tags, leading to a cross-site scripting (XSS) vulnerability.

5

Is CVE-2026-50229 present in all Apache Tomcat versions?

No, CVE-2026-50229 is present in specific versions of Apache Tomcat ranging from 8.5.0 to 11.0.22.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203