WaratekVRT Sign in

CVE-2025-23026

Severity6.1 Medium CVSS 3.1
Fixed in3.1.16
WeaknessCross-site scripting (CWE-79)
Published13 Jan 2025
Updated17 Jun 2026

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.

CWE-150

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: partial.
  • Indexed PoC none indexed
  • EPSS 0.30% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: casid/jte a6fb00d.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/casid/jte/security/advisories/GHSA-vh22-6c6h-rm8q : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
gg.jte:jte 0 3.1.16 unbounded
gg.jte:jte-runtime 0 3.1.16 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv gg.jte jte generic < 3.1.16
osv gg.jte jte-runtime generic < 3.1.16

References

URLTags
https://github.com/casid/jte/security/advisories/GHSA-vh22-6c6h-rm8q advisory
https://github.com/casid/jte/commit/a6fb00d53c7b8dbb86de933215dbe1b9191a57f1 WEB
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#description WEB
https://github.com/casid/jte PACKAGE
https://github.com/casid/jte/blob/main/jte-runtime/src/main/java/gg/jte/html/escape/Escape.java#L43-L83 WEB

Timeline

Published2025-01-13By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.