{"cve":"CVE-2026-41901","nvd":{"published":"2026-05-12T23:16:17.060","modified":"2026-06-17T10:47:09.893","status":"Deferred","description":"Thymeleaf is a server-side Java template engine for web and standalone environments. Prior to 3.1.5.RELEASE, a security bypass vulnerability exists in the expression execution mechanisms of Thymeleaf. Although the library provides mechanisms to avoid the execution of potentially dangerous expressions in some specific sandboxed (restricted) contexts, it fails to properly neutralize specific constructs that allow this kind of expressions to be executed. If an application developer passes to the template engine unsanitized variables that contain such expressions, and these values are used in sandboxed contexts inside the templates, these expressions can be executed achieving Server-Side Template Injection (SSTI). This vulnerability is fixed in 3.1.5.RELEASE.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.0},"cwes":["CWE-917","CWE-1336"],"references":["https://github.com/thymeleaf/thymeleaf/security/advisories/GHSA-c9ph-gxww-7744"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:35:16.954578616+00:00"},"epss":{"cve":"CVE-2026-41901","score":0.00427,"percentile":0.36954,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-c9ph-gxww-7744","url":"https://osv.dev/vulnerability/GHSA-c9ph-gxww-7744","summary":"Sandboxed Thymeleaf expressions vulnerable to improper recognition of unauthorized syntax patterns","modified":"2026-05-13T17:02:46.716315Z","packages":[{"ecosystem":"Maven","name":"org.thymeleaf:thymeleaf","purl":"pkg:maven/org.thymeleaf/thymeleaf","ranges":["<3.1.5.RELEASE"],"fixed":["3.1.5.RELEASE"]},{"ecosystem":"Maven","name":"org.thymeleaf:thymeleaf-spring5","purl":"pkg:maven/org.thymeleaf/thymeleaf-spring5","ranges":["<3.1.5.RELEASE"],"fixed":["3.1.5.RELEASE"]},{"ecosystem":"Maven","name":"org.thymeleaf:thymeleaf-spring6","purl":"pkg:maven/org.thymeleaf/thymeleaf-spring6","ranges":["<3.1.5.RELEASE"],"fixed":["3.1.5.RELEASE"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}