{"cve":"CVE-2025-23026","nvd":{"published":"2025-01-13T20:15:30.003","modified":"2026-06-17T08:51:31.540","status":"Deferred","description":"jte (Java Template Engine) is a secure and lightweight template engine for Java and Kotlin. In affected versions Jte HTML templates with `script` tags or script attributes that include a Javascript template string (backticks) are subject to XSS. The `javaScriptBlock` and `javaScriptAttribute` methods in the `Escape` class do not escape backticks, which are used for Javascript template strings. Dollar signs in template strings should also be escaped as well to prevent undesired interpolation. HTML templates rendered by Jte's `OwaspHtmlTemplateOutput` in versions less than or equal to `3.1.15` with `script` tags or script attributes that contain Javascript template strings (backticks) are vulnerable. Users are advised to upgrade to version 3.1.16 or later to resolve this issue. There are no known workarounds for this vulnerability.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79","CWE-150"],"references":["https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#description","https://github.com/casid/jte/blob/main/jte-runtime/src/main/java/gg/jte/html/escape/Escape.java#L43-L83","https://github.com/casid/jte/security/advisories/GHSA-vh22-6c6h-rm8q","https://github.com/casid/jte/security/advisories/GHSA-vh22-6c6h-rm8q"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:58:20.756570362+00:00"},"epss":{"cve":"CVE-2025-23026","score":0.00304,"percentile":0.23244,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-vh22-6c6h-rm8q","url":"https://osv.dev/vulnerability/GHSA-vh22-6c6h-rm8q","summary":"jte's HTML templates containing Javascript template strings are subject to XSS","modified":"2025-01-13T22:00:48.611400Z","packages":[{"ecosystem":"Maven","name":"gg.jte:jte","purl":"pkg:maven/gg.jte/jte","ranges":["<3.1.16"],"fixed":["3.1.16"]},{"ecosystem":"Maven","name":"gg.jte:jte-runtime","purl":"pkg:maven/gg.jte/jte-runtime","ranges":["<3.1.16"],"fixed":["3.1.16"]}]}],"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."]}