Critical severity · published Nov 9, 2021
CVE-2021-43466
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution
9.8
CVSS
4%
EPSS
No
On KEV
Description
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)4.0% · higher than 90% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TH
Thymeleaf · Thymeleaf
3.0.12 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-43466
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-43466
Exploit
https://gitee.com/wayne_wwang/wayne_wwang/blob/master/2021/10/31/ruoyi+thymeleaf-rce/index.html
Third Party Advisory
https://security.netapp.com/advisory/ntap-20221014-0001/
Third Party Advisory
https://vuldb.com/?id.186365
More from Thymeleaf
9.0
CVE-2026-41901
Thymeleaf: Improper recognition of unauthorized syntax patterns in sandboxed Thymeleaf expressions
9.0
CVE-2026-40478
Improper neutralization of specific syntax patterns for unauthorized expressions in Thymeleaf
9.0
CVE-2026-40477
Improper restriction of the scope of accessible objects in Thymeleaf expressions
7.5
CVE-2023-38286
Thymeleaf through 3.1.1.RELEASE, as used in spring-boot-admin (aka Spring Boot Admin) through 3.1.1 and other products, allows sandbox bypass via crafted HTML
