# CVE-2021-43466: Template injection in thymeleaf-spring5

Source: https://junglewise.ai/threats/cve-2021-43466-template-injection-in-thymeleaf-spring5  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-11-10  
License: CC BY 4.0 with a link back

CVE-2021-43466 · Severity: low · CVSS 3.1 · Published 2021-11-10

Template injection in thymeleaf-spring5

Technologies: [org.thymeleaf:thymeleaf-spring5 (Maven)](https://junglewise.ai/threats/technologies/org-thymeleaf-thymeleaf-spring5). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-43466 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-43466 being exploited in the wild.

**How severe is CVE-2021-43466?** Low severity, with a CVSS score of 3.1, published 10 November 2021.

**Which products and versions are affected?** org.thymeleaf:thymeleaf-spring5 (Maven) ECOSYSTEM:introduced=0,fixed=3.0.13.RELEASE.

**Is there a fix for CVE-2021-43466?** Yes. org.thymeleaf:thymeleaf-spring5 (Maven): upgrade to 3.0.13.RELEASE or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-43466?** Check whether you run org.thymeleaf:thymeleaf-spring5 (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.thymeleaf:thymeleaf-spring5 (Maven): upgrade to 3.0.13.RELEASE or later

  ```sh
  # set org.thymeleaf:thymeleaf-spring5 to 3.0.13.RELEASE in your pom.xml or build.gradle
  ```


## Affected products

- org.thymeleaf:thymeleaf-spring5 (Maven) ECOSYSTEM:introduced=0,fixed=3.0.13.RELEASE

## Identifiers

- CVE-2021-43466
- GHSA-qcj6-jqrg-4wp2

## Related threats

- [Thymeleaf sandbox bypass and server-side template injection](https://junglewise.ai/threats/cve-2026-41901-thymeleaf-ssti-sandbox-bypass-in-expression-execution)
- [Thymeleaf expression execution bypass leading to SSTI](https://junglewise.ai/threats/cve-2026-40478-thymeleaf-expression-execution-bypass-leading-to-ssti)
- [Thymeleaf security bypass in expression execution mechanisms](https://junglewise.ai/threats/cve-2026-40477-thymeleaf-security-bypass-in-expression-execution-mechanisms)
