CVE-2024-52318
JSON

6.1medium

Apache Tomcat: Incorrect JSP tag recycling leads to XSS

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
1.90% (higher than 80% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-f632-9449-3j4wBIT-TOMCAT-2024-52318

Description

Incorrect object recycling and reuse vulnerability in Apache Tomcat. This issue affects Apache Tomcat: 11.0.0, 10.1.31, 9.0.96. Users are recommended to upgrade to version 11.0.1, 10.1.32 or 9.0.97, which fixes the issue.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Tomcat11.0.0, 10.1.31, 9.0.96CVE List
org.apache.tomcat:tomcat-jasper (Maven)from 11.0.0 before 11.0.1, from 10.1.31 before 10.1.32, from 9.0.96 before 9.0.97GitHub Advisory Database
org.apache.tomcat.embed:tomcat-embed-jasper (Maven)from 9.0.96 before 9.0.97, from 11.0.0 before 11.0.1, from 10.1.31 before 10.1.32GitHub Advisory Database
org.apache.tomcat:tomcat (Maven)from 11.0.0 before 11.0.1, from 10.1.31 before 10.1.32, from 9.0.96 before 9.0.97GitHub Advisory Database
apache tomcat9.0.96, 10.1.31, 11.0.0NVD
tomcat (Bitnami)from 9.0.96 before 9.0.97, from 10.1.31 before 10.1.33, from 11.0.0 before 11.0.9Bitnami Vulnerability Database

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-326

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Incorrect object recycling and reuse vulnerability in Apache Tomcat. This issue affects Apache Tomcat: 11.0.0, 10.1.31, 9.0.96. Users are recommended to upgrade to version 11.0.1, 10.1.32 or 9.0.97, which fixes the issue.

GitHub Advisory Database

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
NVD (es)

Vulnerabilidad de reutilización y reciclaje incorrecto de objetos en Apache Tomcat. Este problema afecta a Apache Tomcat: 11.0.0, 10.1.31, 9.0.96. Se recomienda a los usuarios que actualicen a la versión 11.0.1, 10.1.32 o 9.0.97, que soluciona el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-52318 changed 2025-01-31CVE Terms of Use
GitHub Advisory DatabaseGHSA-f632-9449-3j4w changed 2026-06-18CC-BY-4.0
NVDCVE-2024-52318 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-TOMCAT-2024-52318 changed 2026-09-08Apache-2.0