ADVISORIES

GitHub Advisory Database

GHSA-pg42-rg8c-j886

Apache Tomcat has a Cross-site Scripting vulnerability

Details

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in the number guess example for Apache Tomcat.

This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.22, from 10.1.0-M1 through 10.1.55, from 9.0.0.M1 through 9.0.118, from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109. Other versions that have reached end of support may also be affected.

Users are recommended to upgrade to version 11.0.23, 10.1.56 or 9.0.119, which fix the issue.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.tomcat:tomcat
From 11.0.0-M1 before 11.0.23 (fixed in 11.0.23)
Mavenorg.apache.tomcat:tomcat
From 10.1.0-M1 before 10.1.56 (fixed in 10.1.56)
Mavenorg.apache.tomcat:tomcat
From 9.0.0.M1 before 9.0.119 (fixed in 9.0.119)
Mavenorg.apache.tomcat:tomcat
From 8.5.0 up to and including 8.5.100
Mavenorg.apache.tomcat:tomcat
All versions up to and including 7.0.109

References