CVE-2021-43466
Template injection in thymeleaf-spring5
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
- Record
CVE-2021-43466- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-94
- Updated
- 2026-11-02
CVE List No score
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
- Record
CVE-2021-43466- Updated
- 2026-11-02
EUVDEUVD-2021-2380 No score
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
- Record
EUVD-2021-2380- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qcj6-jqrg-4wp2
9.8
Template injection in thymeleaf-spring5
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
- Record
GHSA-qcj6-jqrg-4wp2- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
OSV
9.8
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
- Record
CVE-2021-43466- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-qcj6-jqrg-4wp2
9.8
Template injection in thymeleaf-spring5
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
- Record
GHSA-qcj6-jqrg-4wp2- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.thymeleaf:thymeleaf-spring5Maven |
through 3.0.12.RELEASE | 3.0.13.RELEASE |
org.thymeleaf:thymeleaf-spring5Maven |
before 3.0.13.RELEASE, plus listed versions 3.0.10.RELEASE3.0.11.RELEASE3.0.12.RELEASE3.0.3.M13.0.4.M2 Show 5 moreShow less3.0.5.M33.0.6.M43.0.7.RC13.0.8.RELEASE3.0.9.RELEASE |
3.0.13.RELEASE |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-43466 is a critical vulnerability (CVSS 9.8) in Thymeleaf, published November 9, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.99%, the 90th percentile. Fixed in org.thymeleaf:thymeleaf-spring5 3.0.13.RELEASE.
References
gitee.com/wayne_wwang/wayne_wwang/blob/master/2021/10/31/ruoyi+thymeleaf-rce/index.html
vuldb.com?id.186365
security.netapp.com/advisory/ntap-20221014-0001
nvd.nist.gov/vuln/detail/CVE-2021-43466
github.com/thymeleaf/thymeleaf-spring/issues/263
github.com/advisories/GHSA-qcj6-jqrg-4wp2
github.com/thymeleaf/thymeleaf-spring