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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-29 · Modified: 2026-06-30
- Aliases: UBUNTU-CVE-2026-50229, DEBIAN-CVE-2026-50229, GHSA-pg42-rg8c-j886, BIT-tomcat-2026-50229, CGA-2c9j-gh2m-58jg, CGA-49p8-6w7m-c2pj, CGA-q8r2-jrxr-xxr2, CGA-w2f3-mcjj-rwgg
- Record: https://cvemate.com/vulnerability/CVE-2026-50229 · JSON: https://cvemate.com/vulnerability/CVE-2026-50229/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 18.315%, percentile 97.304%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache tomcat: ≥ 11.0.0-M1, ≤ 11.0.22 \| ≥ 10.1.0-M1, ≤ 10.1.55 \| ≥ 9.0.0.M1, ≤ 9.0.118 \| ≥ 8.5.0, ≤ 8.5.100 \| ≥ 7.0.0, ≤ 7.0.109
- apache tomcat: ≤ 7.0.109 \| ≥ 8.5.0, ≤ 8.5.100 \| ≥ 9.0.0, \< 9.0.119 \| ≥ 10.1.0, \< 10.1.56 \| ≥ 11.0.0, \< 11.0.23
- chainguard tomcat-8.5.87 (Chainguard): All versions (No fix recorded)
- chainguard tomcat-8.5.87-jamf-compat (Chainguard): All versions (No fix recorded)
- debian tomcat10 (Debian): All versions (No fix recorded) \| \< 10.1.60-1~deb12u1 \| \< 10.1.60-1~deb13u1 \| \< 10.1.60-1
- debian tomcat11 (Debian): All versions (No fix recorded) \| \< 11.0.24-1
- debian tomcat9 (Debian): \< 9.0.70-2
- ubuntu tomcat10 (Ubuntu): All versions (No fix recorded) \| \< 10.1.61~us1-0ubuntu1~24.04.2 \| \< 10.1.61~us1-0ubuntu1~26.04.1
- ubuntu tomcat11 (Ubuntu): All versions (No fix recorded) \| \< 11.0.27~us1-0ubuntu1~26.04.1
- ubuntu tomcat6 (Ubuntu): All versions (No fix recorded)
- ubuntu tomcat7 (Ubuntu): All versions (No fix recorded)
- ubuntu tomcat8 (Ubuntu): \< 8.0.32-1ubuntu1.13+esm2 \| \< 8.5.39-1ubuntu1~18.04.3+esm6
- ubuntu tomcat9 (Ubuntu): All versions (No fix recorded)
- org.apache.tomcat tomcat (Maven): ≥ 11.0.0-M1, \< 11.0.23 \| ≥ 10.1.0-M1, \< 10.1.56 \| ≥ 9.0.0.M1, \< 9.0.119 \| ≥ 8.5.0, ≤ 8.5.100 \| ≤ 7.0.109

## References

- <https://lists.apache.org/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0>
- <http://www.openwall.com/lists/oss-security/2026/06/29/20>
- <https://ubuntu.com/security/CVE-2026-50229>
- <https://www.cve.org/CVERecord?id=CVE-2026-50229>
- <https://github.com/apache/tomcat/commit/1fe95d841e9d461a16069974142d12c3ef68819a>
- <https://github.com/apache/tomcat/commit/0d5bdd5b0dd964e9f73e530b7d753462b9bfd1d0>
- <https://github.com/apache/tomcat/commit/de5a950415fc67713f17fab63d0c7809e0fca80b>
- <https://ubuntu.com/security/notices/USN-8551-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-50229>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50229>
- <https://github.com/apache/tomcat>
- <https://tomcat.apache.org/security-10.html>
- <https://tomcat.apache.org/security-11.html>
- <https://tomcat.apache.org/security-9.html>
- <https://ubuntu.com/security/notices/USN-9186-1>

---

Data as of 2026-12-05T04:12:12.692Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
