thymeleaf/thymeleaf-spring · Security
Template injection in thymeleaf-spring5
- GHSA ID
- GHSA-qcj6-jqrg-4wp2
- CVE ID
- CVE-2021-43466
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-43466 ↗
- https://vuldb.com/?id.186365 ↗
- https://github.com/thymeleaf/thymeleaf-spring/issues/263#issuecomment-977199524 ↗
- https://gitee.com/wayne_wwang/wayne_wwang/blob/master/2021/10/31/ruoyi+thymeleaf-rce/index.html ↗
- https://security.netapp.com/advisory/ntap-20221014-0001/ ↗
- https://github.com/advisories/GHSA-qcj6-jqrg-4wp2 ↗