{"id":"CVE-2021-43466","aliases":["CVE-2021-43466","GHSA-qcj6-jqrg-4wp2"],"related":[],"kind":"vulnerability","state":"published","title":"Template injection in thymeleaf-spring5","summary":"In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the thymeleaf-spring5:3.0.12 component, thymeleaf combined with specific scenarios in template injection may lead to remote code execution.","source":"cvelist"},{"lang":"es","text":"En el componente thymeleaf-spring versión 5.3.0.12, thymeleaf combinado con escenarios específicos en la inyección de plantillas puede conllevar a una ejecución de código remota","source":"nvd"}],"published":"2021-11-09T00:00:00.000Z","modified":"2026-06-17T04:11:01.003Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.0.13.RELEASE"}],"ecosystem":"Maven","package":"org.thymeleaf:thymeleaf-spring5","purl":"pkg:maven/org.thymeleaf/thymeleaf-spring5","source":"ghsa"},{"ranges":[{"status":"affected","version":"3.0.12"}],"vendor":"thymeleaf","product":"thymeleaf","cpe":"cpe:2.3:a:thymeleaf:thymeleaf:3.0.12:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://gitee.com/wayne_wwang/wayne_wwang/blob/master/2021/10/31/ruoyi+thymeleaf-rce/index.html","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?id.186365","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20221014-0001/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43466","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/thymeleaf/thymeleaf-spring/issues/263#issuecomment-977199524","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/thymeleaf/thymeleaf-spring","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20221014-0001","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-43466","url":"https://www.cve.org/CVERecord?id=CVE-2021-43466","licence":"CVE Terms of Use","modified":"2024-08-04T03:55:29.288Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qcj6-jqrg-4wp2","url":"https://github.com/advisories/GHSA-qcj6-jqrg-4wp2","licence":"CC-BY-4.0","modified":"2024-02-20T05:33:13.432Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-43466","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43466","licence":"Public domain","modified":"2026-06-17T04:11:01.003Z"}],"updatedAt":"2026-11-25T22:24:35.944Z","epss":{"score":0.03993,"percentile":0.90769,"date":"2026-12-01T12:00:22.000Z"}}