GitHub Advisory Database
GHSA-6j88-6whg-x687
Cross-site Scripting in Apache 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.tomcat:tomcat | From 10.1.0-M1 before 10.1.0-M17 (fixed in 10.1.0-M17) |
| Maven | org.apache.tomcat:tomcat | From 10.0.0-M1 before 10.0.22 (fixed in 10.0.22) |
| Maven | org.apache.tomcat:tomcat | From 9.0.30 before 9.0.65 (fixed in 9.0.65) |
| Maven | org.apache.tomcat:tomcat | From 8.5.50 before 8.5.82 (fixed in 8.5.82) |