{"id":"CVE-2021-43466","aliases":["EUVD-2021-2380","GHSA-qcj6-jqrg-4wp2"],"status":"published","title":"Template injection in thymeleaf-spring5","description":"In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.03993,"percentile":0.90661,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2021-11-09T00:00:00Z","modified":"2026-10-24T10:30:43Z","fixes":[{"ecosystem":"Maven","package":"org.thymeleaf:thymeleaf-spring5","fixed_in":["3.0.13.RELEASE"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.thymeleaf:thymeleaf-spring5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.0.12.RELEASE"},{"fixed":"3.0.13.RELEASE"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.thymeleaf:thymeleaf-spring5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.13.RELEASE"}]}],"versions":["3.0.10.RELEASE","3.0.11.RELEASE","3.0.12.RELEASE","3.0.3.M1","3.0.4.M2","3.0.5.M3","3.0.6.M4","3.0.7.RC1","3.0.8.RELEASE","3.0.9.RELEASE"]}],"products":[{"vendor":"thymeleaf","product":"thymeleaf"}],"references":[{"url":"https://gitee.com/wayne_wwang/wayne_wwang/blob/master/2021/10/31/ruoyi+thymeleaf-rce/index.html","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://vuldb.com/?id.186365","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20221014-0001/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43466","tags":["advisory"]},{"url":"https://github.com/thymeleaf/thymeleaf-spring/issues/263#issuecomment-977199524","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qcj6-jqrg-4wp2"},{"url":"https://github.com/thymeleaf/thymeleaf-spring","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20221014-0001","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-43466","description":"In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.","status":"published","published":"2021-11-09T00:00:00Z","modified":"2024-08-04T03:55:29.288Z","updated_at":"2026-11-02T14:32:56.689433Z"}],"euvd":[{"id":"EUVD-2021-2380","description":"In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.","status":"published","published":"2021-11-09T00:00:00Z","modified":"2024-08-04T03:55:29Z","updated_at":"2026-11-03T03:24:14.245608Z"}],"ghsa":[{"id":"GHSA-qcj6-jqrg-4wp2","title":"Template injection in thymeleaf-spring5","description":"In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.","status":"published","published":"2021-11-10T19:52:33Z","modified":"2023-01-28T05:01:49Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:36:23.433782Z"}],"nvd":[{"id":"CVE-2021-43466","description":"In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.","status":"published","published":"2021-11-09T12:15:10.693Z","modified":"2026-06-17T04:11:01.003Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:07:00.984108Z"}],"osv":[{"id":"CVE-2021-43466","description":"In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.","status":"published","published":"2021-11-09T12:15:10.693Z","modified":"2026-10-24T10:30:43.050176868Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:21.877444Z"},{"id":"GHSA-qcj6-jqrg-4wp2","title":"Template injection in thymeleaf-spring5","description":"In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.","status":"published","published":"2021-11-10T19:52:33Z","modified":"2024-02-20T05:33:13.432414Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:54.40888Z"}]}}
