Patchfirst
CVE-2022-34305 Public exploit EPSS 6.7%

XSS in examples web application

Apache Software Foundation · Apache Tomcat

Official description · CVE.org

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.

Breakdown
59.9 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 17 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+17 mo

7 fixes in tomcat over 24 months. The latest fix listed for tomcat is 11.0.0-M12.

Fixes in tomcatMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 10.0.16CVE-2022-2318127 Jan 2022
  2. 10.1.0-M6CVE-2021-4234014 Oct 2021
  3. 10.1.0-M14CVE-2021-4398028 Sep 2022
  4. 10.1.0-M15CVE-2022-2988512 May 2022
  5. 10.1.0-M17CVE-2022-3430523 Jun 2022
  6. 11.0.0-M11CVE-2023-4108025 Aug 2023
  7. 11.0.0-M12CVE-2023-4279510 Oct 2023Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.apache.tomcat:tomcat.

Mavenorg.apache.tomcat:tomcatGHSA-6j88-6whg-x687

Upgrade to 10.0.22

Fixes this CVE and 4 other known vulnerabilities in this package (CVE-2020-13934, CVE-2020-13935, +2).

Also affected, despite being newer: 10.1.0-M1 up to 10.1.0-M17.

Set the version to 10.0.22 or later in your pom.xml or build.gradle.

The first fix for CVE-2022-34305.

Affected versions, by release line

If you runUpgrade to
10.1.0-M1 up to 10.1.0-M1710.1.45first fix for this CVE: 10.1.0-M17
10.0.0-M1 up to 10.0.2210.0.22
9.0.30 up to 9.0.659.0.109first fix for this CVE: 9.0.65
8.5.50 up to 8.5.82

Still affected on this line by CVE-2025-55752 (no fix published).

8.5.82

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 2 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close