CVE-2022-34305
MEDIUM 6.1CVSS 3.1Cross-site Scripting in Apache Tomcat
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.
- Published
- 23 Jun 2022
- Last modified
- 8 Oct 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-tomcat-2022-34305GHSA-6j88-6whg-x687
- Sources
- NVDJSONOSV GHSA-6j88-6whg-x687JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 8.5.50, <= 8.5.81 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 9.0.30, <= 9.0.64 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 10.0.0, <= 10.0.22 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone1:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone10:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone11:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone12:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone13:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone14:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone15:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone16:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone2:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone3:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone4:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone5:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone6:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone7:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone8:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone9:*:*:*:*:*:* |
= 10.1.0 | |
| OSV | Maven | org.apache.tomcat:tomcat | >= 10.1.0-M1, < 10.1.0-M17 | 10.1.0-M17 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 10.0.0-M1, < 10.0.22 | 10.0.22 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 9.0.30, < 9.0.65 | 9.0.65 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 8.5.50, < 8.5.82 | 8.5.82 |
References
- http://www.openwall.com/lists/oss-security/2022/06/23/1 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k · Mailing List, Release Notes, Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202208-34 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220729-0006/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-34305 · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 23 Jun 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jun 2022)