Description
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.
Remediation
References
https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k
http://www.openwall.com/lists/oss-security/2022/06/23/1
https://security.netapp.com/advisory/ntap-20220729-0006/
https://security.gentoo.org/glsa/202208-34
Related Vulnerabilities
CVE-2022-40309 Vulnerability in maven package org.apache.archiva:maven2-repository
CVE-2022-31189 Vulnerability in maven package org.dspace:dspace-jspui
CVE-2017-1000421 Vulnerability in maven package org.webjars:gifsicle
CVE-2023-40037 Vulnerability in maven package org.apache.nifi:nifi-jms-processors
CVE-2019-10277 Vulnerability in maven package hudson.plugins:starteam