CVE-2022-34305

MEDIUM EXPLOITED NUCLEI

Apache Tomcat 8.5.50-8.5.81, 10.1.0-M1-10.1.0-M16 - Cross-Site Scripting in Form Authentication Example

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2022-34305 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 1 public exploit. A Nuclei detection template is also available.

AI-analyzed exploit summary The repository provides a technical overview of CVE-2022-34305, highlighting its authenticated nature and referencing default credentials for Apache Tomcat. It includes a link to the fixing commit for further analysis.

Description

In Apache Tomcat 10.1.0-M1 to 10.1.0-M16, 10.0.0-M1 to 10.0.22, 9.0.30 to 9.0.64 and 8.5.50 to 8.5.81 the Form authentication example in the examples web application displayed user provided data without filtering, exposing a XSS vulnerability.

Exploits (1)

inthewild WRITEUP
poc
https://github.com/zeroc00i/cve-2022-34305

The repository provides a technical overview of CVE-2022-34305, highlighting its authenticated nature and referencing default credentials for Apache Tomcat. It includes a link to the fixing commit for further analysis.

Classification
Writeup 80%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Apache Tomcat
Auth required
Prerequisites: valid credentials for Apache Tomcat
devstral-2 · analyzed Feb 23, 2026 Full analysis →

Nuclei Templates (1)

Apache Tomcat Examples Web Application - Cross-Site Scripting
MEDIUMVERIFIEDby Sourabh-Sahu
Shodan: cpe:"cpe:2.3:a:apache:tomcat" || http.component:"apache tomcat"
FOFA: body="apache tomcat"

References (4)

Core 4
Core References
Mailing List, Release Notes, Third Party Advisory x_refsource_misc
https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2022/06/23/1
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20220729-0006/
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202208-34

Scores

CVSS v3 6.1
EPSS 0.1737
EPSS Percentile 95.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

VulnCheck KEV 2023-11-09
CWE
CWE-79
Status published
Products (3)
apache/tomcat 10.1.0 milestone1 (16 CPE variants)
apache/tomcat 8.5.50 - 8.5.81
org.apache.tomcat/tomcat 10.1.0-M1 - 10.1.0-M17Maven
Published Jun 23, 2022
Tracked Since Feb 18, 2026