VDB
Sign up
MEDIUM

GHSA-q74x-qqhr-f8rx

Apache Tomcat Cross-site scripting (XSS) vulnerability

Quick fix

GHSA-q74x-qqhr-f8rx — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

# pom.xml: bump <version>4.1.38</version> for org.apache.tomcat:tomcat

Details

Cross-site scripting (XSS) vulnerability in Apache Tomcat 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16 allows remote attackers to inject arbitrary web script or HTML via a crafted string that is used in the message argument to the HttpServletResponse.sendError method.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 4.1.0Fixed in: 4.1.38
Fix# pom.xml: bump <version>4.1.38</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 5.5.0Fixed in: 5.5.27
Fix# pom.xml: bump <version>5.5.27</version> for org.apache.tomcat:tomcat
Maven/org.apache.tomcat:tomcat
Introduced in: 6.0.0Fixed in: 6.0.17
Fix# pom.xml: bump <version>6.0.17</version> for org.apache.tomcat:tomcat

References