XSS in examples web application
Apache Software Foundation Apache Tomcat
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat Maven |
|
|
Apache Software Foundation Apache Tomcat
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat Maven |
|
|
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.
From the CVE record · apache
The Form authentication example in Apache Tomcat’s examples web application displays user-provided data without filtering. An attacker can use this to inject script when someone views that data. The input does not specify whether authentication is required.
Teams running Apache Tomcat or the Maven package org.apache.tomcat:tomcat should check versions 10.1.0-M1 through 10.1.0-M16, 10.0.0-M1 before 10.0.22, 9.0.30 through 9.0.64, and 8.5.50 through 8.5.81.