CVE-2024-52318
MEDIUM 6.1CVSS 3.1Apache Tomcat - XSS in generated JSPs
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.
- Published
- 18 Nov 2024
- Last modified
- 18 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-326
- Also known as
- BIT-tomcat-2024-52318GHSA-f632-9449-3j4w
- Sources
- NVDJSONOSV GHSA-f632-9449-3j4wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.96:*:*:*:*:*:*:* |
= 9.0.96 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.31:*:*:*:*:*:*:* |
= 10.1.31 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:-:*:*:*:*:*:* |
= 11.0.0 | |
| OSV | Maven | org.apache.tomcat:tomcat-jasper | >= 11.0.0, < 11.0.1 | 11.0.1 |
| OSV | Maven | org.apache.tomcat:tomcat-jasper | >= 10.1.31, < 10.1.32 | 10.1.32 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-jasper | >= 9.0.96, < 9.0.97 | 9.0.97 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-jasper | >= 11.0.0, < 11.0.1 | 11.0.1 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-jasper | >= 10.1.31, < 10.1.32 | 10.1.32 |
| OSV | Maven | org.apache.tomcat:tomcat-jasper | >= 9.0.96, < 9.0.97 | 9.0.97 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 11.0.0, < 11.0.1 | 11.0.1 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 10.1.31, < 10.1.32 | 10.1.32 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 9.0.96, < 9.0.97 | 9.0.97 |
References
- https://lists.apache.org/thread/co243cw1nlh6p521c5265cm839wkqdp9 · Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2024/11/18/4 · Mailing List, WEB
- https://security.netapp.com/advisory/ntap-20250131-0009/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-52318 · ADVISORY
- https://github.com/apache/tomcat/commit/8d1fc4733a06d1a03b9d644c57010f2ec5f0df38 · WEB
- https://github.com/apache/tomcat/commit/9813c5dd3259183f659bbb83312a5cf673cc1ebf · WEB
- https://github.com/apache/tomcat/commit/be8e32143a3159e78fe5463d09bb8e1b33bf2b1f · WEB
- https://bz.apache.org/bugzilla/show_bug.cgi?id=69333 · WEB
- https://github.com/apache/tomcat · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 18 Nov 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Nov 2024)