GitHub Advisory Database
GHSA-qcj6-jqrg-4wp2
Template injection in thymeleaf-spring5
Details
In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.thymeleaf:thymeleaf-spring5 | All versions before 3.0.13.RELEASE (fixed in 3.0.13.RELEASE) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-43466
- 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://github.com/thymeleaf/thymeleaf-spring
- https://security.netapp.com/advisory/ntap-20221014-0001
- https://vuldb.com/?id.186365