CVE-2026-50229 json
Apache Tomcat: XSS in number guess example
published 2026-06-29 4 mo ago modified 2026-11-04 4 d ago also BIT-tomcat-2026-50229 , EUVD-2026-40226 , GHSA-pg42-rg8c-j886
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.1%
- EPSS 4.1% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known, plus a Nuclei check
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.
Patch / fix
- maven org.apache.tomcat:tomcat 9.0.119, 10.1.56, 11.0.23
- bitnami tomcat 9.0.101, 10.1.37, 11.0.5
- apache tomcat 9.0.101, 10.1.37, 11.0.5
- org.apache.tomcat tomcat 9.0.101, 10.1.37, 11.0.5
- apache tomcat-catalina 9.0.101, 10.1.37, 11.0.5
- org.apache.tomcat tomcat-catalina 9.0.101, 10.1.37, 11.0.5
- apache tomcat-embed-core 9.0.101, 10.1.37, 11.0.5
- org.apache.tomcat.embed tomcat-embed-core 9.0.101, 10.1.37, 11.0.5
- tomcat9 Debian 14, Debian 13, Debian 12 9.0.70-2
- tomcat10 Debian 14 10.1.60-1
- tomcat11 Debian 14 11.0.24-1
debian advisories DEBIAN-CVE-2026-50229
- tomcat8 Ubuntu Pro 16.04 LTS 8.0.32-1ubuntu1.13+esm2
- tomcat8 Ubuntu Pro 18.04 LTS 8.5.39-1ubuntu1~18.04.3+esm6
ubuntu advisories UBUNTU-CVE-2026-50229
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- tomcat9 RHEL 10.2 1:9.0.120-1.el10_2
- tomcat9-lib RHEL 10.2 1:9.0.120-1.el10_2
- tomcat9-webapps RHEL 10.2 1:9.0.120-1.el10_2
- tomcat9-el-3.0-api RHEL 10.2 1:9.0.120-1.el10_2
- tomcat9-docs-webapp RHEL 10.2 1:9.0.120-1.el10_2
- tomcat9-jsp-2.3-api RHEL 10.2 1:9.0.120-1.el10_2
- tomcat9-admin-webapps RHEL 10.2 1:9.0.120-1.el10_2
- tomcat9-servlet-4.0-api RHEL 10.2 1:9.0.120-1.el10_2
red hat advisories RHSA-2026:68651RHSA-2026:68680RHSA-2026:68679RHSA-2026:68677RHSA-2026:68678RHSA-2026:68660
- tomcat10 SLE Module for Web and Scripting 15 SP7 10.1.56-150200.5.70.1
- tomcat SLE Module for Web and Scripting 15 SP7 9.0.119-150200.111.1
- tomcat11 SLE Module for Web and Scripting 15 SP7 11.0.23-150600.13.24.1
- tomcat10 SLES for SAP applications 16.0, SLES 16.0 10.1.56-160000.1.1
- tomcat SLES for SAP applications 16.0, SLES 16.0 9.0.119-160000.1.1
- tomcat11 SLES for SAP applications 16.0, SLES 16.0 11.0.23-160000.1.1
- tomcat SLES LTSS Extended Security 12 SP5 9.0.119-3.169.1
suse advisories SUSE-SU-2026:3167-1SUSE-SU-2026:3112-1SUSE-SU-2026:3088-1SUSE-SU-2026:3087-1SUSE-SU-2026:22647-1SUSE-SU-2026:22646-1
- tomcat openSUSE Leap 16.0 9.0.119-160000.1.1
- tomcat10 openSUSE Leap 16.0 10.1.56-160000.1.1
- tomcat11 openSUSE Leap 16.0 11.0.23-160000.1.1
- tomcat openSUSE Tumbleweed 9.0.119-1.1
- tomcat10 openSUSE Tumbleweed 10.1.56-1.1
- tomcat11 openSUSE Tumbleweed 11.0.23-1.1
opensuse advisories openSUSE-SU-2026:21327-1openSUSE-SU-2026:21328-1openSUSE-SU-2026:21329-1openSUSE-SU-2026:11208-1openSUSE-SU-2026:11209-1openSUSE-SU-2026:11195-1
- tomcat9 AlmaLinux 10 1:9.0.120-1.el10_2.alma.1
- tomcat9-lib AlmaLinux 10 1:9.0.120-1.el10_2.alma.1
- tomcat9-webapps AlmaLinux 10 1:9.0.120-1.el10_2.alma.1
- tomcat9-el-3.0-api AlmaLinux 10 1:9.0.120-1.el10_2.alma.1
- tomcat9-docs-webapp AlmaLinux 10 1:9.0.120-1.el10_2.alma.1
- tomcat9-jsp-2.3-api AlmaLinux 10 1:9.0.120-1.el10_2.alma.1
- tomcat9-admin-webapps AlmaLinux 10 1:9.0.120-1.el10_2.alma.1
- tomcat9-servlet-4.0-api AlmaLinux 10 1:9.0.120-1.el10_2.alma.1
almalinux advisories ALSA-2026:68651ALSA-2026:68660ALSA-2026:68677
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-50229 updated cvss 5.4
tomcat: Apache Tomcat: Cross-Site Scripting vulnerability in number guess example
-
Red Hat Enterprise Linux 6 tomcat6, tomcat6-lib, tomcat6-log4j, tomcat6-javadoc, tomcat6-webapps, tomcat6-el-2.1-api, +4 more Red Hat Enterprise Linux 7 tomcat, tomcat-lib, tomcat-jsvc, tomcat-javadoc, tomcat-webapps, tomcat-el-2.2-api, +4 more Red Hat Enterprise Linux 8 pki-servlet-engine, pki-servlet-4.0-api Red Hat Enterprise Linux 9 pki-servlet-engine, pki-servlet-4.0-api Red Hat Enterprise Linux 10 tomcat Red Hat JBoss Web Server 5 jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-jsvc, jws5-tomcat-javadoc, jws5-tomcat-selinux, jws5-tomcat-webapps, +7 moreaffected: workaround, no fix available “Remove or disable the Tomcat example web applications if they are deployed. Example applications are not needed for production use and should not be accessible in production environments.”
-
Red Hat Enterprise Linux AppStream (v. 8) tomcat 9.0.120-1.el8_10, tomcat-lib 9.0.120-1.el8_10, tomcat-webapps 9.0.120-1.el8_10, tomcat-el-3.0-api 9.0.120-1.el8_10, tomcat-docs-webapp 9.0.120-1.el8_10, tomcat-jsp-2.3-api 9.0.120-1.el8_10, +2 morefixed: vendor fix “Remove or disable the Tomcat example web applications if they are deployed. Example applications are not needed for production use and should not be accessible in production environments.” RHSA-2026:68677
-
Red Hat Enterprise Linux AppStream (v. 9) tomcat 9.0.120-2.el9_8, tomcat-lib 9.0.120-2.el9_8, tomcat-webapps 9.0.120-2.el9_8, tomcat-el-3.0-api 9.0.120-2.el9_8, tomcat-docs-webapp 9.0.120-2.el9_8, tomcat-jsp-2.3-api 9.0.120-2.el9_8, +2 morefixed: vendor fix “Remove or disable the Tomcat example web applications if they are deployed. Example applications are not needed for production use and should not be accessible in production environments.” RHSA-2026:68660
-
Red Hat Enterprise Linux AppStream (v. 10) tomcat9 9.0.120-1.el10_2, tomcat9-lib 9.0.120-1.el10_2, tomcat9-webapps 9.0.120-1.el10_2, tomcat9-el-3.0-api 9.0.120-1.el10_2, tomcat9-docs-webapp 9.0.120-1.el10_2, tomcat9-jsp-2.3-api 9.0.120-1.el10_2, +2 morefixed: vendor fix “Remove or disable the Tomcat example web applications if they are deployed. Example applications are not needed for production use and should not be accessible in production environments.” RHSA-2026:68651
-
Red Hat Enterprise Linux AppStream E4S (v.8.8) tomcat 9.0.120-1.el8_8, tomcat-lib 9.0.120-1.el8_8, tomcat-webapps 9.0.120-1.el8_8, tomcat-el-3.0-api 9.0.120-1.el8_8, tomcat-docs-webapp 9.0.120-1.el8_8, tomcat-jsp-2.3-api 9.0.120-1.el8_8, +2 morefixed: vendor fix “Remove or disable the Tomcat example web applications if they are deployed. Example applications are not needed for production use and should not be accessible in production environments.” RHSA-2026:68680
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) tomcat 9.0.120-1.el9_2, tomcat-lib 9.0.120-1.el9_2, tomcat-webapps 9.0.120-1.el9_2, tomcat-el-3.0-api 9.0.120-1.el9_2, tomcat-docs-webapp 9.0.120-1.el9_2, tomcat-jsp-2.3-api 9.0.120-1.el9_2, +2 morefixed: vendor fix “Remove or disable the Tomcat example web applications if they are deployed. Example applications are not needed for production use and should not be accessible in production environments.” RHSA-2026:68678
-
Red Hat Enterprise Linux AppStream E4S (v.9.4) tomcat 9.0.120-1.el9_4, tomcat-lib 9.0.120-1.el9_4, tomcat-webapps 9.0.120-1.el9_4, tomcat-el-3.0-api 9.0.120-1.el9_4, tomcat-docs-webapp 9.0.120-1.el9_4, tomcat-jsp-2.3-api 9.0.120-1.el9_4, +2 morefixed: vendor fix “Remove or disable the Tomcat example web applications if they are deployed. Example applications are not needed for production use and should not be accessible in production environments.” RHSA-2026:68679
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) tomcat9 9.0.120-1.el10_0, tomcat9-lib 9.0.120-1.el10_0, tomcat9-webapps 9.0.120-1.el10_0, tomcat9-el-3.0-api 9.0.120-1.el10_0, tomcat9-docs-webapp 9.0.120-1.el10_0, tomcat9-jsp-2.3-api 9.0.120-1.el10_0, +2 morefixed: vendor fix “Remove or disable the Tomcat example web applications if they are deployed. Example applications are not needed for production use and should not be accessible in production environments.” RHSA-2026:67163
show 5 moreshow fewer
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) tomcat 9.0.120-1.el9_6, tomcat-lib 9.0.120-1.el9_6, tomcat-webapps 9.0.120-1.el9_6, tomcat-el-3.0-api 9.0.120-1.el9_6, tomcat-docs-webapp 9.0.120-1.el9_6, tomcat-jsp-2.3-api 9.0.120-1.el9_6, +2 morefixed: vendor fix “Remove or disable the Tomcat example web applications if they are deployed. Example applications are not needed for production use and should not be accessible in production environments.” RHSA-2026:68659
-
Red Hat Enterprise Linux AppStream TUS (v.8.8) tomcat 9.0.120-1.el8_8, tomcat-lib 9.0.120-1.el8_8, tomcat-webapps 9.0.120-1.el8_8, tomcat-el-3.0-api 9.0.120-1.el8_8, tomcat-docs-webapp 9.0.120-1.el8_8, tomcat-jsp-2.3-api 9.0.120-1.el8_8, +2 morefixed: vendor fix “Remove or disable the Tomcat example web applications if they are deployed. Example applications are not needed for production use and should not be accessible in production environments.” RHSA-2026:68680
-
Red Hat Hardened Images tomcat11 11.0.23-0.1.hum1, tomcat11-lib 11.0.23-0.1.hum1, tomcat11-common 11.0.23-0.1.hum1, tomcat11-webapps 11.0.23-0.1.hum1, tomcat11-el-6.0-api 11.0.23-0.1.hum1, tomcat11-docs-webapp 11.0.23-0.1.hum1, +4 morefixed: vendor fix “Remove or disable the Tomcat example web applications if they are deployed. Example applications are not needed for production use and should not be accessible in production environments.” RHSA-2026:32960
-
Red Hat Hardened Images tomcat10 10.1.56-1.hum1not affected: vulnerable code not present
-
Red Hat JBoss Web Server 6 tomcat-websocket Red Hat JBoss Web Server 7 tomcat-websocketnot affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
4.09% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Apache Tomcat - Cross-Site Scripting nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat | >=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 |
11.0.23 10.1.56 9.0.119 |
| bitnami | tomcat | <9.0.101 >=10.0.0, <10.1.37 >=11.0.0, <11.0.5 |
9.0.101 10.1.37 11.0.5 |
Affected products
- Apache Software Foundation Apache Tomcat
Classification
- Weakness
-
- CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page
References
-
github.com
/apache/tomcat/commit/0d5bdd5b0dd964e9f73e530b7d753462b9bfd1d0
web
-
github.com
/apache/tomcat/commit/1fe95d841e9d461a16069974142d12c3ef68819a
web
-
github.com
/apache/tomcat/commit/de5a950415fc67713f17fab63d0c7809e0fca80b
web
-
lists.apache.org
/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0
vendor-advisory, web, mailing-list, advisory
-
openwall.com
/lists/oss-security/2026/06/29/20
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-50229
advisory, web
-
github.com
/apache/tomcat
package
-
tomcat.apache.org
/security-10.html
web
-
tomcat.apache.org
/security-11.html
web
-
tomcat.apache.org
/security-9.html
web
Sources
- CVE List CVE-2026-50229
- GitHub Advisory GHSA-pg42-rg8c-j886
- NVD CVE-2026-50229
- OSV BIT-tomcat-2026-50229
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.