Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat.embed/tomcat-embed-core
  4. ›
  5. CVE-2022-34305

CVE-2022-34305: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

June 23, 2022 (updated October 26, 2022)

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.

References

  • www.openwall.com/lists/oss-security/2022/06/23/1
  • github.com/advisories/GHSA-6j88-6whg-x687
  • lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k
  • nvd.nist.gov/vuln/detail/CVE-2022-34305

Code Behaviors & Features

Detect and mitigate CVE-2022-34305 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.5.50 before 8.5.82, all versions starting from 9.0.30 before 9.0.65, all versions starting from 10.0.0 before 10.0.23

Fixed versions

  • 8.5.82
  • 9.0.65
  • 10.0.23

Solution

Upgrade to versions 8.5.82, 9.0.65, 10.0.23 or above.

Impact 6.1 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

maven/org.apache.tomcat.embed/tomcat-embed-core/CVE-2022-34305.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.