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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tomcat10 | 10.1.60-1 | — |
| Debian 14 | tomcat11 | 11.0.24-1 | — |
| Debian 14 | tomcat9 | 9.0.70-2 | — |
| Debian 13 | tomcat10 | 10.1.60-1~deb13u1 | — |
| Debian 13 | tomcat11 | No fix yet | — |
| Debian 13 | tomcat9 | 9.0.70-2 | — |
| Debian 12 | tomcat10 | 10.1.60-1~deb12u1 | — |
| Debian 12 | tomcat9 | 9.0.70-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tomcat9 +2 | No fix yet | — |
| Ubuntu 26.04 LTS | tomcat9 +2 | No fix yet | — |
| Ubuntu 25.10 | tomcat9 +2 | No fix yet | — |
| Ubuntu 24.04 LTS | tomcat9 +1 | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | tomcat9 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | tomcat9 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | tomcat8 | 8.5.39-1ubuntu1~18.04.3+esm6 | USN-8551-1 |
| Ubuntu Pro 18.04 LTS | tomcat9 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | tomcat7 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | tomcat8 | 8.0.32-1ubuntu1.13+esm2 | USN-8551-1 |
| Ubuntu Pro 14.04 LTS | tomcat6 +1 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | tomcat9 +7 | 1:9.0.120-1.el10_2 | RHSA-2026:68651 |
| RHEL 9 | tomcat +7 | 1:9.0.120-2.el9_8 | RHSA-2026:68660 |
| RHEL 8 | tomcat +7 | 1:9.0.120-1.el8_10 | RHSA-2026:68677 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10.0 EUS | tomcat9 +7 | 1:9.0.120-1.el10_0 | RHSA-2026:67163 |
| RHEL 9.6 EUS | tomcat +7 | 1:9.0.120-1.el9_6 | RHSA-2026:68659 |
| RHEL 9.4 E4S | tomcat +7 | 1:9.0.120-1.el9_4 | RHSA-2026:68679 |
| RHEL 9.2 E4S | tomcat +7 | 1:9.0.120-1.el9_2 | RHSA-2026:68678 |
| RHEL 8.8 TUS | tomcat +7 | 1:9.0.120-1.el8_8 | RHSA-2026:68680 |
| RHEL 8.8 E4S | tomcat +7 | 1:9.0.120-1.el8_8 | RHSA-2026:68680 |
| Red Hat Hardened Images 1 | tomcat11 +9 | 11.0.23-0.1.hum1 | RHSA-2026:32960 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | tomcat9 +7 | 1:9.0.120-1.el10_2.alma.1 | ALSA-2026:68651 |
| AlmaLinux 9 | tomcat +7 | 1:9.0.120-2.el9_8 | ALSA-2026:68660 |
| AlmaLinux 8 | tomcat +7 | 1:9.0.120-1.el8_10 | ALSA-2026:68677 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | tomcat | 9.0.119-150200.111.1 | SUSE-SU-2026:3088-1 |
| SLES 15 SP7 | tomcat10 | 10.1.56-150200.5.70.1 | SUSE-SU-2026:3112-1 |
| SLES 15 SP7 | tomcat11 | 11.0.23-150600.13.24.1 | SUSE-SU-2026:3087-1 |
| SLES 12 SP5 | tomcat | 9.0.119-3.169.1 | SUSE-SU-2026:3167-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | tomcat | 9.0.119-160000.1.1 | SUSE-SU-2026:22646-1 |
| SLES for SAP 16.0 | tomcat10 | 10.1.56-160000.1.1 | SUSE-SU-2026:22647-1 |
| SLES for SAP 16.0 | tomcat11 | 11.0.23-160000.1.1 | SUSE-SU-2026:22648-1 |
| SLES 16.0 | tomcat | 9.0.119-160000.1.1 | SUSE-SU-2026:22646-1 |
| SLES 16.0 | tomcat10 | 10.1.56-160000.1.1 | SUSE-SU-2026:22647-1 |
| SLES 16.0 | tomcat11 | 11.0.23-160000.1.1 | SUSE-SU-2026:22648-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tomcat | 9.0.119-1.1 | openSUSE-SU-2026:11208-1 |
| openSUSE Tumbleweed | tomcat10 | 10.1.56-1.1 | openSUSE-SU-2026:11209-1 |
| openSUSE Tumbleweed | tomcat11 | 11.0.23-1.1 | openSUSE-SU-2026:11195-1 |
| openSUSE Leap 16.0 | tomcat | 9.0.119-160000.1.1 | openSUSE-SU-2026:21327-1 |
| openSUSE Leap 16.0 | tomcat10 | 10.1.56-160000.1.1 | openSUSE-SU-2026:21328-1 |
| openSUSE Leap 16.0 | tomcat11 | 11.0.23-160000.1.1 | openSUSE-SU-2026:21329-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | tomcat10 +7 | 1:10.1.57-1.amzn2023.0.1 | ALAS2023-2026-1946 |
| Amazon Linux 2023 | tomcat9 +7 | 1:9.0.120-1.amzn2023.0.1 | ALAS2023-2026-1945 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
qsuv/CVE-2026-50229 ★ 0 · Oct 18, 2026
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Apache Tomcat - Cross-Site Scripting http/cves/2026/CVE-2026-50229.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 11.0.0-M1, < 11.0.23 | 11.0.23 | GHSA-pg42-rg8c-j886 |
| Maven | org.apache.tomcat:tomcat | >= 10.1.0-M1, < 10.1.56 | 10.1.56 | GHSA-pg42-rg8c-j886 |
| Maven | org.apache.tomcat:tomcat | >= 9.0.0.M1, < 9.0.119 | 9.0.119 | GHSA-pg42-rg8c-j886 |
| Maven | org.apache.tomcat:tomcat | >= 8.5.0, <= 8.5.100 | — | GHSA-pg42-rg8c-j886 |
| Maven | org.apache.tomcat:tomcat | <= 7.0.109 | — | GHSA-pg42-rg8c-j886 |
Advisories 29
- WID-SEC-2026-2123 Apache Tomcat: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- ALSA-2026:68660 Moderate: tomcat security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:68651 Moderate: tomcat9 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:68677 Important: tomcat security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:68680 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:68678 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:68679 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:68677 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:68659 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:68660 Red Hat Security Advisory: tomcat security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:68651 Red Hat Security Advisory: tomcat9 security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:67163 Red Hat Security Advisory: tomcat9 security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:32960 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- ALAS2023-2026-1945 Moderate: tomcat9 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 29, 2026
- ALAS2023-2026-1946 Moderate: tomcat10 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 29, 2026
- SUSE-SU-2026:3167-1 Security update for tomcat SUSE / openSUSE Security Updates · Jul 22, 2026
- SUSE-SU-2026:3112-1 Security update for tomcat10 SUSE / openSUSE Security Updates · Jul 18, 2026
- SUSE-SU-2026:22646-1 Security update for tomcat SUSE / openSUSE Security Updates · Jul 17, 2026
- SUSE-SU-2026:22647-1 Security update for tomcat10 SUSE / openSUSE Security Updates · Jul 17, 2026
- SUSE-SU-2026:22648-1 Security update for tomcat11 SUSE / openSUSE Security Updates · Jul 17, 2026
- SUSE-SU-2026:3087-1 Security update for tomcat11 SUSE / openSUSE Security Updates · Jul 17, 2026
- SUSE-SU-2026:3088-1 Security update for tomcat SUSE / openSUSE Security Updates · Jul 17, 2026
- USN-8551-1 tomcat8 vulnerabilities Ubuntu Security Notices (USN) · Jul 15, 2026
- openSUSE-SU-2026:21329-1 Security update for tomcat11 SUSE / openSUSE Security Updates · Jul 15, 2026
- openSUSE-SU-2026:21328-1 Security update for tomcat10 SUSE / openSUSE Security Updates · Jul 15, 2026
- openSUSE-SU-2026:21327-1 Security update for tomcat SUSE / openSUSE Security Updates · Jul 15, 2026
- openSUSE-SU-2026:11209-1 tomcat10-10.1.56-1.1 on GA media SUSE / openSUSE Security Updates · Jul 9, 2026
- openSUSE-SU-2026:11208-1 tomcat-9.0.119-1.1 on GA media SUSE / openSUSE Security Updates · Jul 9, 2026
- openSUSE-SU-2026:11195-1 tomcat11-11.0.23-1.1 on GA media SUSE / openSUSE Security Updates · Jul 7, 2026
References
- https://lists.apache.org/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0 vendor-advisory