CVE-2021-43466
CRITICAL 9.8CVSS 3.1Template 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.
- Published
- 9 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-qcj6-jqrg-4wp2
- Sources
- NVDJSONOSV GHSA-qcj6-jqrg-4wp2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | thymeleaf | thymeleafcpe:2.3:a:thymeleaf:thymeleaf:3.0.12:*:*:*:*:*:*:* |
= 3.0.12 | |
| OSV | Maven | org.thymeleaf:thymeleaf-spring5 | < 3.0.13.RELEASE | 3.0.13.RELEASE |
References
- https://gitee.com/wayne_wwang/wayne_wwang/blob/master/2021/10/31/ruoyi+thymeleaf-rce/index.html · Exploit, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20221014-0001/ · Third Party Advisory, WEB
- https://vuldb.com/?id.186365 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43466 · ADVISORY
- https://github.com/thymeleaf/thymeleaf-spring/issues/263#issuecomment-977199524 · WEB
- https://github.com/thymeleaf/thymeleaf-spring · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 9 Nov 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Nov 2021)