Improper Neutralization of Special Elements Used in a Template Engine Affecting org.jdbi:jdbi3-freemarker package, versions [,3.53.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGJDBI-16760722
  • published19 May 2026
  • disclosed5 May 2026
  • creditwodzen

Introduced: 5 May 2026

New CVE NOT AVAILABLE CWE-1336  (opens in a new tab)

How to fix?

Upgrade org.jdbi:jdbi3-freemarker to version 3.53.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via the FreemarkerEngine.parse() function. An attacker can execute arbitrary commands on the server by injecting malicious template code that leverages unrestricted class instantiation within the template engine. This is only exploitable if attacker-controlled input is passed to the SQL template body or to a defined attribute that is subsequently evaluated with ?eval or ?interpret.

CVSS Base Scores

version 4.0
version 3.1