thymeleaf vulnerabilities and fixes
Recent CVEs affecting thymeleaf, with upgrade or downgrade steps. 2 tracked.
thymeleaf has 2 tracked vulnerabilities, 2 critical. A fixed release or vendor patch exists for 2. Most recent: 2026-04-17. Highest priority: CVE-2026-40478 (score 53/100).
- CVE-2026-40477 CRITICAL 9.0 UPGRADE Thymeleaf is a server-side Java template engine for web and standalone environments
- CVE-2026-40478 CRITICAL 9.0 UPGRADE Thymeleaf is a server-side Java template engine for web and standalone environments
FAQ
How do I fix thymeleaf vulnerabilities?
Open the CVE for your version, check the affected range, then follow the listed action: upgrade to the fixed release, or downgrade or mitigate if no fix exists yet. Commands for each OS are shown on every CVE page.
Is thymeleaf being exploited right now?
None of the tracked thymeleaf CVEs are on the CISA Known Exploited Vulnerabilities list at the moment. This is checked every 20 minutes.
Which thymeleaf CVE should I patch first?
CVE-2026-40478 currently ranks highest (53/100): Thymeleaf is a server-side Java template engine for web and standalone environments.