Skip to content
Fencer Vulns
medium 6.1

CVE-2022-34305 json

XSS in examples web application

published 2022-06-23 4 y ago modified 2026-10-08 31 d ago also BIT-tomcat-2022-34305 , EUVD-2022-5963 , GHSA-6j88-6whg-x687

cvss
6.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
6.7%
EPSS 6.7% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known, plus a Nuclei check

Summary

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.

Patch / fix

  • maven org.apache.tomcat:tomcat 8.5.82, 9.0.65, 10.0.22, 10.1.0-M17
  • bitnami tomcat 8.5.82, 9.0.65, 10.0.23
  • tomcat9 Debian 14, Debian 13, Debian 12 9.0.65-1

debian advisories DEBIAN-CVE-2022-34305

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-34305 updated cvss 5.4

tomcat: XSS in examples web application

  • Red Hat Fuse 7 tomcat
    affected: no fix available “Fix deferred”
  • Red Hat JBoss Web Server 3 tomcat, tomcat7 tomcat7, tomcat8 tomcat8
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 6 tomcat6, tomcat6-lib, tomcat6-log4j, tomcat6-javadoc, tomcat6-webapps, tomcat6-el-2.1-api, +4 more Red Hat Enterprise Linux 7 tomcat, tomcat-lib, tomcat-jsvc, tomcat-javadoc, tomcat-webapps, tomcat-el-2.2-api, +4 more Red Hat Enterprise Linux 8 pki-servlet-engine, pki-servlet-4.0-api Red Hat Enterprise Linux 9 pki-servlet-engine, pki-servlet-4.0-api Red Hat JBoss Web Server 5 tomcat
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
31 d ago

Exploit prediction

6.71% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template Apache Tomcat Examples Web Application - Cross-Site Scripting nuclei detection template

CVSS scores

assigned by version score vector
GitHub 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
OSV 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.tomcat:tomcat
>=10.1.0-M1, <10.1.0-M17
>=10.0.0-M1, <10.0.22
>=9.0.30, <9.0.65
>=8.5.50, <8.5.82
10.1.0-M17
10.0.22
9.0.65
8.5.82
bitnami tomcat
>=8.5.50, <8.5.82
>=9.0.30, <9.0.65
>=10.0.0, <10.0.23
8.5.82
9.0.65
10.0.23

Affected products

  • Apache Software Foundation Apache Tomcat

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.