CVE-2021-43466: thymeleaf Improper Control of Generation of Code
Vulnerability summary
CVE-2021-43466 is a critical (CVSS 9.8) Improper Control of Generation of Code vulnerability in thymeleaf. EPSS estimates a 3.99% chance of exploitation in the next 30 days, higher than 90.7% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 09-11-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.99%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.99% on 22-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (gitee.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Org.thymeleaf1 product
- thymeleaf-spring5< 3.0.13.RELEASE
Thymeleaf1 product
- thymeleaf3.0.12
2 vendors · 2 products
References
7 links- gitee.com/wayne_wwang/wayne_wwang/blob/master/2021/10/31/ruoyi+thymeleaf-rce/index.htmlWEBExploitThird Party Advisory
- security.netapp.com/advisory/ntap-20221014-0001/Third Party Advisory