Skip to main content

Apache Tomcat CVE-2026-50229

| EUVDEUVD-2026-40226 MEDIUM
Basic XSS (CWE-80)
2026-06-29 apache GHSA-pg42-rg8c-j886
6.1
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Tomcat instance with /examples deployed
  2. Delivery
    Craft URL with XSS payload in number-guess parameter
  3. Exploit
    Deliver malicious link to victim (phishing/redirect)
  4. Execution
    Victim browser loads reflected response
  5. Persist
    Injected script executes in Tomcat origin context
  6. Impact
    Attacker harvests session data or performs UI manipulation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The Tomcat 'number guess' example application (webapps/examples context) must be deployed and network-accessible - this is a non-default state for production servers, as hardening guidance explicitly requires removal of example applications. Victim user interaction is required: the victim must load a crafted URL or have a malicious link rendered in their browser. Exploitation is limited to the browser security context of the Tomcat server's origin and does not grant server-side access. EOL branches (7.x, 8.5.x) have no vendor-supplied patch, leaving upgrade-averse environments persistently exposed. No authentication is required to send the crafted request, but a victim must be induced to trigger it.

Impact

No CVSS vector or EPSS score was provided for this CVE, so quantitative risk signals are absent. This vulnerability is not listed in the CISA KEV catalog and no public exploit code has been identified. The practical risk is heavily bounded by the exploitation condition: the Tomcat example applications must be deployed and reachable. Security baselines (CIS, DISA STIG, vendor hardening guides) universally recommend removing the /examples context from production Tomcat deployments, making real-world exposure limited to misconfigured or development servers. The XSS impact is confined to browser-side execution - session hijacking, credential theft, or UI redressing - with no direct server-side code execution. EOL branches (7.x, 8.5.x) receive no patch and represent residual risk for organizations that have not yet migrated. Overall priority is low for hardened production environments and moderate for organizations that may have overlooked example-app removal.

Exploit ScenarioDerived

An attacker crafts a URL targeting the number-guess example page on a Tomcat instance where the examples application is deployed, embedding a malicious script payload in the guess parameter. The attacker delivers this URL to a victim - via phishing, a malicious link on another page, or a stored reference - and when the victim loads it their browser executes the injected script in the context of the Tomcat server's origin, potentially exposing session cookies or enabling UI manipulation. No public proof-of-concept code is known at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 29, 2026

Reflected XSS in Apache Tomcat's bundled 'number guess' example application exposes users of that demo page to script injection across all major Tomcat release lines from 7.0 through 11.0. The flaw resides in a sample JSP/servlet, not the core Tomcat runtime, meaning exploitation depends entirely on the example application being deployed and accessible - a configuration that violates standard production hardening guidance. No public exploit code or active exploitation has been identified at time of analysis; no CVSS vector was assigned by the reporter.

RemediationAI

Vendor-released patches are available: upgrade to Apache Tomcat 11.0.23, 10.1.56, or 9.0.119, which fix the issue per the Apache advisory at https://lists.apache.org/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0. For 8.5.x and 7.0.x, no patched release is expected given end-of-life status - the primary compensating control is to remove or undeploy the examples web application context entirely (delete or rename the webapps/examples directory), which eliminates the attack surface with no functional impact on production workloads. Restricting network access to the /examples path via a reverse proxy ACL or Tomcat's RemoteAddrValve is an additional layer but removal is preferred. Organizations still running EOL branches should treat this as an additional prompt to migrate to a supported Tomcat release.

Affected VersionsENISA

Apache Tomcat 8.5.0 ≤8.5.100
Apache Tomcat 11.0.0-M1 ≤11.0.22
Apache Tomcat 10.1.0-M1 ≤10.1.55
Apache Tomcat 7.0.0 ≤7.0.109
Apache Tomcat 9.0.0.M1 ≤9.0.118

Affected Packages

maven org.apache.tomcat:tomcat fix: 9.0.119, 10.1.56, 11.0.23
euvd apache_tomcat no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-80 (Basic XSS) describes a failure to neutralize script-related HTML tags before rendering user-supplied input in a browser. The vulnerable component is the 'number guess' example web application distributed with Apache Tomcat, identifiable via CPE cpe:2.3:a:apache_software_foundation:apache_tomcat:*:*:*:*:*:*:*:*. The number-guess demo accepts user input (a guessed number) and reflects it back in the HTTP response without adequate HTML encoding, allowing an attacker to embed tags such as <script> in a crafted URL. This is a classic reflected (Type 1) XSS pattern. The vulnerability spans Tomcat's entire actively supported version matrix - 9.x, 10.1.x, and 11.0.x - as well as the end-of-life 7.x and 8.5.x branches.

Know when Apache Tomcat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 6.1 LOW
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Network-reachable reflected XSS with no auth required (PR:N) but mandatory victim interaction (UI:R); scope changes to browser (S:C) with limited C/I impact and no availability effect.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
SUSE MEDIUM
Red Hat 5.4 MEDIUM

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 30, 2026 - 13:22 NVD
6.1 (MEDIUM)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
High
widely deployed Java servlet container across enterprise and cloud environments
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
5
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-34486 HIGH POC
7.5 Apr 09

Missing encryption of cluster replication traffic in Apache Tomcat 11.0.20, 10.1.53, and 9.0.116 exposes sensitive sessi

CVE-2026-29146 HIGH POC
7.5 Apr 09

Padding oracle attack in Apache Tomcat EncryptInterceptor leaks encrypted session data confidentiality across versions 7

CVE-2026-76183 CRITICAL
9.8 Sep 23

Authentication bypass in Apache Tomcat allows unauthenticated remote attackers to reach WebSocket endpoints that are sup

CVE-2026-133325 CRITICAL
9.8 Nov 19

Unauthenticated cluster membership in Apache Tomcat is possible when cluster communication is secured with TLS 1.3 and T

CVE-2026-43512 CRITICAL
9.8 May 12

Authentication bypass in Apache Tomcat's DIGEST authentication implementation allows remote attackers to circumvent HTTP

CVE-2026-41293 CRITICAL
9.8 May 12

Improper input validation in Apache Tomcat (CWE-20) affects a broad range of releases across the 8.5, 9.0, 10.0, 10.1, a

CVE-2026-101296 CRITICAL
9.1 Oct 20

Authentication bypass in Apache Tomcat's JNDI realm allows unauthenticated remote attackers to log in without a valid pa

CVE-2026-101356 CRITICAL
9.1 Oct 20

Apache Tomcat 11.0.22-11.0.26, 10.1.55-10.1.60, and 9.0.118-9.0.122 contain an object-recycling race in HTTP/2 processin

CVE-2026-118028 CRITICAL
9.1 Nov 19

Execution After Redirect in Apache Tomcat's RedirectValve allows a remote, unauthenticated request to keep being process

CVE-2026-29145 CRITICAL
9.1 Apr 09

Authentication bypass in Apache Tomcat 9.x through 11.x and Tomcat Native 1.1.23-2.0.13 allows unauthenticated remote at

CVE-2026-43515 CRITICAL
9.1 May 12

Authorization bypass in Apache Tomcat (versions 7.0.0-7.0.109, 8.5.0-8.5.100, 9.0.0.M1-9.0.117, 10.1.0-M1-10.1.54, and 1

CVE-2026-103119 CRITICAL
9.1 Oct 20

Apache Tomcat 11.0.0-M25 through 11.0.26 can split the body of a large non-blocking (NIO) response across the current re

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Web and Scripting 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise Server 16.0 SUSE Linux Enterprise Server for SAP applications 16.0 Fixed
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 Fixed
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy