cve.bz

CVE-2026-50229 apache tomcat

6.1 mediumEPSS 4.1%Fix available

Medium (6.1) in apache tomcat. EPSS 4.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 10.1.56, 11.0.23, 9.0.119.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
4.1% (unchanged from 4.1% a week ago; 4.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-50229 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-50229?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-50229?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-50229 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-50229

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-50229](https://cve.bz/cve/badge/CVE-2026-50229.svg)](https://cve.bz/cve/CVE-2026-50229)

HTML:

<a href="https://cve.bz/cve/CVE-2026-50229"><img src="https://cve.bz/cve/badge/CVE-2026-50229.svg" alt="CVE-2026-50229"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Tomcatfrom 11.0.0-M1 through 11.0.22
Apache Software Foundation Apache Tomcatfrom 10.1.0-M1 through 10.1.55
Apache Software Foundation Apache Tomcatfrom 9.0.0.M1 through 9.0.118
Apache Software Foundation Apache Tomcatfrom 8.5.0 through 8.5.100
Apache Software Foundation Apache Tomcatfrom 7.0.0 through 7.0.109

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pg42-rg8c-j886Mavenorg.apache.tomcat:tomcat>=11.0.0-M1 <11.0.2311.0.23
GHSA-pg42-rg8c-j886Mavenorg.apache.tomcat:tomcat>=10.1.0-M1 <10.1.5610.1.56
GHSA-pg42-rg8c-j886Mavenorg.apache.tomcat:tomcat>=9.0.0.M1 <9.0.1199.0.119
GHSA-pg42-rg8c-j886Mavenorg.apache.tomcat:tomcat>=8.5.0 <=8.5.100no fix published
GHSA-pg42-rg8c-j886Mavenorg.apache.tomcat:tomcat<=7.0.109no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12tomcat1010.1.60-1~deb12u1DEBIAN-CVE-2026-50229
Debian12, 13, 14tomcat99.0.70-2DEBIAN-CVE-2026-50229
Debian13tomcat1010.1.60-1~deb13u1DEBIAN-CVE-2026-50229
Debian13tomcat11no fix listedDEBIAN-CVE-2026-50229
Debian14tomcat1010.1.60-1DEBIAN-CVE-2026-50229
Debian14tomcat1111.0.24-1DEBIAN-CVE-2026-50229
Ubuntu24.04:LTStomcat9, tomcat10no fix listedUBUNTU-CVE-2026-50229
Ubuntu25.10, 26.04:LTS, 26.10tomcat9, tomcat10, tomcat11no fix listedUBUNTU-CVE-2026-50229
UbuntuPro:14.04:LTStomcat6, tomcat7no fix listedUBUNTU-CVE-2026-50229
UbuntuPro:16.04:LTStomcat7no fix listedUBUNTU-CVE-2026-50229
UbuntuPro:16.04:LTStomcat88.0.32-1ubuntu1.13+esm2UBUNTU-CVE-2026-50229 USN-8551-1
UbuntuPro:18.04:LTStomcat88.5.39-1ubuntu1~18.04.3+esm6UBUNTU-CVE-2026-50229 USN-8551-1
UbuntuPro:18.04:LTS, Pro:20.04:LTS, Pro:22.04:LTStomcat9no fix listedUBUNTU-CVE-2026-50229
Red Hatenterprise_linux:8::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-1.el8_10RHSA-2026:68677
Red Hatenterprise_linux:9::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-2.el9_8RHSA-2026:68660
Red Hatenterprise_linux:10.2tomcat9, tomcat9-lib, tomcat9-webapps and 5 more1:9.0.120-1.el10_2RHSA-2026:68651
Red Hatenterprise_linux_eus:10.0tomcat9, tomcat9-lib, tomcat9-webapps and 5 more1:9.0.120-1.el10_0RHSA-2026:67163
Red Hathummingbird:1tomcat11, tomcat11-lib, tomcat11-common and 7 more1:11.0.23-0.1.hum1RHSA-2026:32960
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-1.el8_8RHSA-2026:68680
Red Hatrhel_e4s:9.2::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-1.el9_2RHSA-2026:68678
Red Hatrhel_e4s:9.4::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-1.el9_4RHSA-2026:68679
Red Hatrhel_eus:9.6::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-1.el9_6RHSA-2026:68659
SUSELinux Enterprise Module for Web and Scripting 15 SP7tomcat9.0.119-150200.111.1SUSE-SU-2026:3088-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7tomcat1010.1.56-150200.5.70.1SUSE-SU-2026:3112-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7tomcat1111.0.23-150600.13.24.1SUSE-SU-2026:3087-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0tomcat9.0.119-160000.1.1SUSE-SU-2026:22646-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0tomcat1010.1.56-160000.1.1SUSE-SU-2026:22647-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0tomcat1111.0.23-160000.1.1SUSE-SU-2026:22648-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5tomcat9.0.119-3.169.1SUSE-SU-2026:3167-1
openSUSELeap 16.0tomcat9.0.119-160000.1.1openSUSE-SU-2026:21327-1
openSUSELeap 16.0tomcat1010.1.56-160000.1.1openSUSE-SU-2026:21328-1
openSUSELeap 16.0tomcat1111.0.23-160000.1.1openSUSE-SU-2026:21329-1
openSUSETumbleweedtomcat9.0.119-1.1openSUSE-SU-2026:11208-1
openSUSETumbleweedtomcat1010.1.56-1.1openSUSE-SU-2026:11209-1
openSUSETumbleweedtomcat1111.0.23-1.1openSUSE-SU-2026:11195-1
AlmaLinux8tomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux9tomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-2.el9_8ALSA-2026:68660
AlmaLinux10tomcat9, tomcat9-lib, tomcat9-webapps and 5 more1:9.0.120-1.el10_2.alma.1ALSA-2026:68651

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw was found in Apache Tomcat. A Cross-Site Scripting (XSS) vulnerability exists in the "number guess" example web application shipped with Tomcat. An attacker can inject malicious scripts into the example page, which execute in other users' browsers when they view the page. This vulnerability only affects the example web application, not the Tomcat servlet container itself. Red Hat Tomcat packages do not deploy example applications by default — they are in separate optional packages (e.g., tomcat-webapps) that are not installed in production environments.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10tomcat9-1:9.0.120-1.el10_2Fixed 2026-09-18RHSA-2026:68651
Red Hat Enterprise Linux 10.0 Extended Update Supporttomcat9-1:9.0.120-1.el10_0Fixed 2026-09-14RHSA-2026:67163
Red Hat Enterprise Linux 8tomcat-1:9.0.120-1.el8_10Fixed 2026-09-17RHSA-2026:68677
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicetomcat-1:9.0.120-1.el8_8Fixed 2026-09-17RHSA-2026:68680
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionstomcat-1:9.0.120-1.el8_8Fixed 2026-09-17RHSA-2026:68680
Red Hat Enterprise Linux 9tomcat-1:9.0.120-2.el9_8Fixed 2026-09-17RHSA-2026:68660
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionstomcat-1:9.0.120-1.el9_2Fixed 2026-09-17RHSA-2026:68678
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionstomcat-1:9.0.120-1.el9_4Fixed 2026-09-17RHSA-2026:68679
Red Hat Enterprise Linux 9.6 Extended Update Supporttomcat-1:9.0.120-1.el9_6Fixed 2026-09-17RHSA-2026:68659
Red Hat Hardened Imagestomcat11-main-11.0.23-0.1.hum1Fixed 2026-06-29RHSA-2026:32960
Red Hat Enterprise Linux 10tomcatFix deferred
Red Hat Enterprise Linux 6tomcat6Fix deferred
Red Hat Enterprise Linux 7tomcatFix deferred
Red Hat Enterprise Linux 8pki-deps:10.6/pki-servlet-engineFix deferred
Red Hat Enterprise Linux 9pki-servlet-engineFix deferred
Red Hat Hardened Imagestomcat10Not affected
Red Hat JBoss Web Server 5jws5-tomcatFix deferred
Red Hat JBoss Web Server 6tomcat-websocketNot affected
Red Hat JBoss Web Server 7tomcat-websocketNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-50229.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-18 XSS Targeting Non-Script Elements Likelihood: High · Severity: Very High
  • CAPEC-32 XSS Through HTTP Query Strings Likelihood: High · Severity: High
  • CAPEC-86 XSS Through HTTP Headers Likelihood: High · Severity: Very High
  • CAPEC-193 PHP Remote File Inclusion Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON