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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Tomcat | 11.0.0, 10.1.31, 9.0.96 | CVE 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.97 | GitHub 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.32 | GitHub 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.97 | GitHub Advisory Database |
| apache tomcat | 9.0.96, 10.1.31, 11.0.0 | NVD |
| 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.9 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-52318 changed 2025-01-31 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f632-9449-3j4w changed 2026-06-18 | CC-BY-4.0 |
| NVD | CVE-2024-52318 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-TOMCAT-2024-52318 changed 2026-09-08 | Apache-2.0 |