CVE-2025-23026

CVSS 3.1 Score 6.1 of 10 (medium)

Details

Published Jan 13, 2025
CWE ID 150
CWE ID 79

Summary

CVE-2025-23026 is a newly disclosed vulnerability affecting the Java Template Engine (jte) versions 3.1.15 and below. The issue lies in the engine's handling of `script` tags and attributes in HTML templates that contain Javascript template strings (using backticks). jte's `Escape` class fails to properly escape backticks, leading to Cross-Site Scripting (XSS) attacks. This vulnerability can be exploited by injecting malicious scripts into the templates rendered by jte's `OwaspHtmlTemplateOutput`. Users are strongly advised to upgrade to version 3.1.16 or later to mitigate the risk, as there are currently no known workarounds for this vulnerability.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share