Apache Tomcat: XSS in number guess example
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 10 fixed, 6 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-80.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | 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 | — | No fix listed | CNA |
| — | org.apache.tomcat:tomcat (Maven) | 11.0.0-M1 to before 11.0.23 | 11.0.23 | Patch available | GHSA-pg42-rg8c-j886 |
| — | org.apache.tomcat:tomcat (Maven) | 10.1.0-M1 to before 10.1.56 | 10.1.56 | Patch available | GHSA-pg42-rg8c-j886 |
| — | org.apache.tomcat:tomcat (Maven) | 9.0.0.M1 to before 9.0.119 | 9.0.119 | Patch available | GHSA-pg42-rg8c-j886 |
| — | org.apache.tomcat:tomcat (Maven) | 8.5.0 – 8.5.100 | — | No fix listed | GHSA-pg42-rg8c-j886 |
| — | org.apache.tomcat:tomcat (Maven) | up to 7.0.109 | — | No fix listed | GHSA-pg42-rg8c-j886 |
- Apache Tomcat VendorApache Affected 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 Fixed in — No fix listed CNA
- org.apache.tomcat:tomcat (Maven) Vendor— Affected 11.0.0-M1 to before 11.0.23 Fixed in 11.0.23 Patch available GHSA-pg42-rg8c-j886
- org.apache.tomcat:tomcat (Maven) Vendor— Affected 10.1.0-M1 to before 10.1.56 Fixed in 10.1.56 Patch available GHSA-pg42-rg8c-j886
- org.apache.tomcat:tomcat (Maven) Vendor— Affected 9.0.0.M1 to before 9.0.119 Fixed in 9.0.119 Patch available GHSA-pg42-rg8c-j886
- org.apache.tomcat:tomcat (Maven) Vendor— Affected 8.5.0 – 8.5.100 Fixed in — No fix listed GHSA-pg42-rg8c-j886
- org.apache.tomcat:tomcat (Maven) Vendor— Affected up to 7.0.109 Fixed in — No fix listed GHSA-pg42-rg8c-j886
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* | up to 7.0.109; 8.5.0 – 8.5.100; 9.0.0 to before 9.0.119; 10.1.0 to before 10.1.56; 11.0.0 to before 11.0.23 | Vulnerable | Apache |
- cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* Versions up to 7.0.109; 8.5.0 – 8.5.100; 9.0.0 to before 9.0.119; 10.1.0 to before 10.1.56; 11.0.0 to before 11.0.23 Vulnerable ·Apache
Remediation
- Fix · GHSA-pg42-rg8c-j886 org.apache.tomcat:tomcat (Maven) Fixed in 11.0.23 Advisory →
- Fix · GHSA-pg42-rg8c-j886 org.apache.tomcat:tomcat (Maven) Fixed in 10.1.56 Advisory →
- Fix · GHSA-pg42-rg8c-j886 org.apache.tomcat:tomcat (Maven) Fixed in 9.0.119 Advisory →
Red Hat 9 advisories
- RHSA-2026:68651 Released 2026-09-18 · Red Hat rating Moderatetomcat9 security update
- Red Hat Enterprise Linux AppStream (v. 10) tomcat9-1:9.0.120-1.el10_2, tomcat9-admin-webapps-1:9.0.120-1.el10_2, tomcat9-docs-webapp-1:9.0.120-1.el10_2 +5
- RHSA-2026:68677 Released 2026-09-17 · Red Hat rating Importanttomcat security update
- Red Hat Enterprise Linux AppStream (v. 8) tomcat-1:9.0.120-1.el8_10, tomcat-admin-webapps-1:9.0.120-1.el8_10, tomcat-docs-webapp-1:9.0.120-1.el8_10 +5
- RHSA-2026:68660 Released 2026-09-17 · Red Hat rating Moderatetomcat security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) tomcat-1:9.0.120-2.el9_8, tomcat-admin-webapps-1:9.0.120-2.el9_8, tomcat-docs-webapp-1:9.0.120-2.el9_8 +5
Show 6 more Red Hat advisories
- RHSA-2026:68659 Released 2026-09-17 · Red Hat rating Importanttomcat security update
- Red Hat Enterprise Linux AppStream EUS (v.9.6) tomcat-1:9.0.120-1.el9_6, tomcat-admin-webapps-1:9.0.120-1.el9_6, tomcat-docs-webapp-1:9.0.120-1.el9_6 +5
- RHSA-2026:68678 Released 2026-09-17 · Red Hat rating Importanttomcat security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) tomcat-1:9.0.120-1.el9_2, tomcat-admin-webapps-1:9.0.120-1.el9_2, tomcat-docs-webapp-1:9.0.120-1.el9_2 +5
- RHSA-2026:68679 Released 2026-09-17 · Red Hat rating Importanttomcat security update
- Red Hat Enterprise Linux AppStream E4S (v.9.4) tomcat-1:9.0.120-1.el9_4, tomcat-admin-webapps-1:9.0.120-1.el9_4, tomcat-docs-webapp-1:9.0.120-1.el9_4 +5
- RHSA-2026:68680 Released 2026-09-17 · Red Hat rating Importanttomcat security update
- Red Hat Enterprise Linux AppStream E4S (v.8.8) tomcat-1:9.0.120-1.el8_8, tomcat-admin-webapps-1:9.0.120-1.el8_8, tomcat-docs-webapp-1:9.0.120-1.el8_8 +5
- Red Hat Enterprise Linux AppStream TUS (v.8.8) tomcat-1:9.0.120-1.el8_8, tomcat-admin-webapps-1:9.0.120-1.el8_8, tomcat-docs-webapp-1:9.0.120-1.el8_8 +5
- RHSA-2026:67163 Released 2026-09-14 · Red Hat rating Importanttomcat9 security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) tomcat9-1:9.0.120-1.el10_0, tomcat9-admin-webapps-1:9.0.120-1.el10_0, tomcat9-docs-webapp-1:9.0.120-1.el10_0 +5
- RHSA-2026:32960 Released 2026-06-29 · Red Hat rating CriticalRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images tomcat11-1:11.0.23-0.1.hum1@noarch@public-hummingbird-aarch64-rpms, tomcat11-1:11.0.23-0.1.hum1@noarch@public-hummingbird-x86_64-rpms, tomcat11-1:11.0.23-0.1.hum1@src +18
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Tomcat 7.0.0
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-40363 Apache Tomcat: Authentication bypass with JNDIRealm and GSSAPI authenticated bindPriority MEDIUM 45
- TI-2026-40362 Apache Tomcat: Security constraints for default servlet ignored methodPriority LOW 36
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Web Server 5 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:68651 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:68677 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:68660 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2026:68680 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:68678 |
| Red Hat Enterprise Linux AppStream E4S (v.9.4) | Fixed | RHSA-2026:68679 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:67163 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:68659 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2026:68680 |
| Red Hat Hardened Images | Fixed | RHSA-2026:32960 |
Not affected: 3 products
- Red Hat Hardened Images
- Red Hat JBoss Web Server 6
- Red Hat JBoss Web Server 7
Timeline
- 2026-10-02 Threatist record created from CVE-2026-50229
- 2026-10-03 Alias added: GHSA-pg42-rg8c-j886
- 2026-11-04 Fix available: Maven/org.apache.tomcat:[email protected], Maven/org.apache.tomcat:[email protected], Maven/org.apache.tomcat:[email protected] · GHSA-pg42-rg8c-j886
- 2026-11-04 CVSS score added · GHSA-pg42-rg8c-j886
- 2026-11-04 Weakness changed · GHSA-pg42-rg8c-j886
- 2026-11-04 10 new references · GHSA-pg42-rg8c-j886
References
Advisory 3
Other 7
- https://github.com/apache/tomcat/commit/0d5bdd5b0dd964e9f73e530b7d753462b9bfd1d0
- https://github.com/apache/tomcat/commit/1fe95d841e9d461a16069974142d12c3ef68819a
- https://github.com/apache/tomcat/commit/de5a950415fc67713f17fab63d0c7809e0fca80b
- 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
More Apache Tomcat vulnerabilities
- TI-2025-18529 Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2020-01862 Improper privilege management in Apache Tomcat KEVCVSS 3.1CRITICAL 9.8
- TI-2016-07192 Improper access control in Apache Tomcat KEVCVSS 3.1CRITICAL 9.8
- TI-2017-09342 Unrestricted file upload in Apache Tomcat KEVCVSS 3.1HIGH 8.1
- TI-2017-09340 Unrestricted file upload in Apache Tomcat KEVCVSS 3.1HIGH 8.1
- TI-2026-26741 Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptor KEVCVSS 3.1HIGH 7.5
Sources
- CVE-2026-50229 · CVE Program
- CVE-2026-50229 · NVD
- FIRST EPSS
- GHSA-pg42-rg8c-j886 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-50229 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences