VDB
Sign up
MEDIUM6.1

GHSA-6j88-6whg-x687

Cross-site Scripting in Apache Tomcat

Quick fix

GHSA-6j88-6whg-x687 — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

# pom.xml: bump <version>10.1.0-M17</version> for org.apache.tomcat:tomcat

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 10.1.0-M1Fixed in: 10.1.0-M17
Fix# pom.xml: bump <version>10.1.0-M17</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 10.0.0-M1Fixed in: 10.0.22
Fix# pom.xml: bump <version>10.0.22</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 9.0.30Fixed in: 9.0.65
Fix# pom.xml: bump <version>9.0.65</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 8.5.50Fixed in: 8.5.82
Fix# pom.xml: bump <version>8.5.82</version> for org.apache.tomcat:tomcat

References