Read the docs
TI-2025-16837 Aliases CVE-2025-23026GHSA-vh22-6c6h-rm8q

HTML templates containing Javascript template strings are subject to XSS in jte

Priority MEDIUM 60CWE-150Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00304 23rd percentileScored 2026-11-07
Fix Fixed jte (casid): 3.1.16gg.jte:jte (Maven): 3.1.16+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
casidjtebefore 3.1.163.1.16Patch availableCNA
—gg.jte:jte (Maven)before 3.1.163.1.16Patch availableGHSA-vh22-6c6h-rm8q
—gg.jte:jte-runtime (Maven)before 3.1.163.1.16Patch availableGHSA-vh22-6c6h-rm8q
  • jte Vendorcasid Affected before 3.1.16 Fixed in 3.1.16 Patch available CNA
  • gg.jte:jte (Maven) Vendor— Affected before 3.1.16 Fixed in 3.1.16 Patch available GHSA-vh22-6c6h-rm8q
  • gg.jte:jte-runtime (Maven) Vendor— Affected before 3.1.16 Fixed in 3.1.16 Patch available GHSA-vh22-6c6h-rm8q

Remediation

  • Fix · CNA jte (casid) Fixed in 3.1.16
  • Fix · GHSA-vh22-6c6h-rm8q gg.jte:jte (Maven) Fixed in 3.1.16 Advisory →
  • Fix · GHSA-vh22-6c6h-rm8q gg.jte:jte-runtime (Maven) Fixed in 3.1.16 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-23026
  2. 2026-10-03 Alias added: GHSA-vh22-6c6h-rm8q

References

Sources