XSS in examples web application

Summary

CVECVE-2022-34305
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-06-23 11:15:07 UTC
Updated2026-10-08 22:17:21 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 6.1 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS: 0.067140000 probability, percentile 0.938670000 (date 2026-10-20)

Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS v3.1 Breakdown

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Tomcat 10.1.0 milestone1 All All
Application Apache Tomcat 10.1.0 milestone10 All All
Application Apache Tomcat 10.1.0 milestone11 All All
Application Apache Tomcat 10.1.0 milestone12 All All
Application Apache Tomcat 10.1.0 milestone13 All All
Application Apache Tomcat 10.1.0 milestone14 All All
Application Apache Tomcat 10.1.0 milestone15 All All
Application Apache Tomcat 10.1.0 milestone16 All All
Application Apache Tomcat 10.1.0 milestone2 All All
Application Apache Tomcat 10.1.0 milestone3 All All
Application Apache Tomcat 10.1.0 milestone4 All All
Application Apache Tomcat 10.1.0 milestone5 All All
Application Apache Tomcat 10.1.0 milestone6 All All
Application Apache Tomcat 10.1.0 milestone7 All All
Application Apache Tomcat 10.1.0 milestone8 All All
Application Apache Tomcat 10.1.0 milestone9 All All
Application Apache Tomcat All All All All
Application Apache Tomcat All All All All
Application Apache Tomcat All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache Tomcat affected Apache Tomcat 8.5 8.5.50 to 8.5.81 Not specified
CNA Apache Software Foundation Apache Tomcat affected Apache Tomcat 9 9.0.30 to 9.0.64 Not specified
CNA Apache Software Foundation Apache Tomcat affected Apache Tomcat 10.0 10.0.0-M1 to 10.0.22 Not specified
CNA Apache Software Foundation Apache Tomcat affected Apache Tomcat 10.1 10.1.0-M1 to 10.1.0-M16 Not specified

References

ReferenceSourceLinkTags
oss-security - CVE-2022-34305: Apache Tomcat: XSS in examples web application af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Mailing List, Release Notes, Third Party Advisory
CVE-2022-34305 Apache Tomcat Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
Apache Tomcat: Multiple Vulnerabilities (GLSA 202208-34) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 150541 Apache Tomcat Cross-Site Scripting(XSS) Vulnerability (CVE-2022-34305)
  • 182048 Debian Security Update for tomcat9 (CVE-2022-34305)
  • 20270 Oracle Database 21c Critical Patch Update - October 2022
  • 20271 Oracle Database 19c Critical Patch Update - October 2022
  • 20272 Oracle Database 19c Critical OJVM Patch Update - October 2022
  • 296084 Oracle Solaris 11.4 Support Repository Update (SRU) 50.126.3 Missing (CPUOCT2022)
  • 356168 Amazon Linux Security Advisory for tomcat : ALASTOMCAT8.5-2023-003
  • 378610 Dell NetWorker Security Update for an Apache Tomcat Vulnerability (DSA-2022-341)
  • 690921 Free Berkeley Software Distribution (FreeBSD) Security Update for tomcat (e2e7faf9-1b51-11ed-ae46-002b67dfc673)
  • 710609 Gentoo Linux Apache Tomcat Multiple Vulnerabilities (GLSA 202208-34)
  • 730645 Apache Tomcat Cross-Site Scripting (XSS) in examples web application Vulnerability (CVE-2022-34305)
  • 730649 Apache Tomcat Cross-Site Scripting (XSS) in examples web application Vulnerability (CVE-2022-34305)
  • 730658 Apache Tomcat Cross-Site Scripting (XSS) in examples web application Vulnerability (CVE-2022-34305)
  • 730664 Apache Tomcat Cross-Site Scripting (XSS) in examples web application Vulnerability (CVE-2022-34305)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report