MODERATE 6.1

CVE-2024-52318

Apache Tomcat - XSS in generated JSPs

Description

Description:

The fix for improvement 69333 caused pooled JSP tags not to be released after use which in turn could cause output of some tags not to escaped as expected. This unescaped output could lead to XSS.

Versions Affected:

  • Apache Tomcat 11.0.0
  • Apache Tomcat 10.1.31
  • Apache Tomcat 9.0.96

Mitigation:

Users of the affected versions should apply one of the following mitigations:

  • Upgrade to Apache Tomcat 11.0.1 or later
  • Upgrade to Apache Tomcat 10.1.33 or later Note: 10.1.32 was not released
  • Upgrade to Apache Tomcat 9.0.97 or later

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.apache.tomcat » tomcat
>= 9.0.96, < 9.0.97>= 10.1.31, < 10.1.32>= 11.0.0, < 11.0.1
9.0.97, 10.1.32, 11.0.1
org.apache.tomcat » tomcat-jasper
>= 9.0.96, < 9.0.97>= 10.1.31, < 10.1.32>= 11.0.0, < 11.0.1
9.0.97, 10.1.32, 11.0.1
org.apache.tomcat.embed » tomcat-embed-jasper
>= 9.0.96, < 9.0.97>= 10.1.31, < 10.1.32>= 11.0.0, < 11.0.1
9.0.97, 10.1.32, 11.0.1

Blast radius

3affected artifacts
9affected versions
26dependent artifacts (est.)
61dependent versions

11% of the dependent artifacts (3) still pull an affected version in their latest release.

DepthDependent versions
Direct
25
2 hops
30
3 hops
6

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Webgithub.com
Webbz.apache.org
Weblists.apache.org
Websecurity.netapp.com
Webopenwall.com