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
http://www.openwall.com/lists/oss-security/2022/06/23/1
https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k
https://security.gentoo.org/glsa/202208-34
https://security.netapp.com/advisory/ntap-20220729-0006/
Related Vulnerabilities
CVE-2022-31147 Vulnerability in maven package org.webjars.bower:jquery-validation
CVE-2020-7785 Vulnerability in npm package node-ps
CVE-2020-2250 Vulnerability in maven package org.jenkins-ci.plugins:soapui-pro-functional-testing
CVE-2020-1948 Vulnerability in maven package org.apache.dubbo:dubbo-rpc-api