Medium

Apache Tomcat - XSS in generated JSPs

  • Disclosed: 18.11.2024
  • Updated: 11.10.2026 12:22

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.tomcat.embed:tomcat-embed-jasper >= 9.0.96, < 9.0.97, >= 11.0.0, < 11.0.1, >= 10.1.31, < 10.1.32 9.0.97, 11.0.1, 10.1.32
Java / Kotlin (Maven) org.apache.tomcat:tomcat >= 11.0.0, < 11.0.1, >= 10.1.31, < 10.1.32, >= 9.0.96, < 9.0.97 11.0.1, 10.1.32, 9.0.97
Java / Kotlin (Maven) org.apache.tomcat:tomcat-jasper >= 11.0.0, < 11.0.1, >= 10.1.31, < 10.1.32, >= 9.0.96, < 9.0.97 11.0.1, 10.1.32, 9.0.97

References

CVSS score 6.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-326
Platform
Java / Kotlin (Maven)
Package
org.apache.tomcat.embed:tomcat-embed-jasper, org.apache.tomcat:tomcat, org.apache.tomcat:tomcat-jasper
Disclosed
18.11.2024
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-f632-9449-3j4w - CC BY 4.0

Vulnerability history: org.apache.tomcat:tomcat-jasper

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
05.2022 11.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • Medium 2

Disclosures per year

  1. 2022: 2
  2. 2023: 0
  3. 2024: 1
  4. 2025: 0
  5. 2026: 0
  1. Apache Tomcat - XSS in generated JSPs this entry
    Medium · 6.1 CVE-2024-52318 >= 11.0.0, < 11.0.1, >= 10.1.31, < 10.1.32, >= 9.0.96, < 9.0.97 11.0.1, 10.1.32, 9.0.97
  2. Medium CVE-2014-0119 < 6.0.40, >= 7.0.0, < 7.0.54, >= 8.0.0, < 8.0.6 6.0.40, 7.0.54, 8.0.6
  3. Critical · 9.1 CVE-2016-5018 >= 9.0.0.M1, < 9.0.0.M10, >= 8.5.0, < 8.5.5, >= 8.0.0RC1, < 8.0.37, >= 7.0.0, < 7.0.72 9.0.0.M10, 8.5.5, 8.0.37, 7.0.72

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.