Improper Neutralization of Special Elements Used in a Template Engine Affecting com.hubspot.jinjava:jinjava package, versions [,2.7.6)[2.8.0,2.8.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
0.89% (55th percentile)

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-COMHUBSPOTJINJAVA-15189006
  • published4 Feb 2026
  • disclosed3 Feb 2026
  • credittwilliamson-an, akues-an

Introduced: 3 Feb 2026

CVE-2026-25526  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

Upgrade com.hubspot.jinjava:jinjava to version 2.7.6, 2.8.3 or higher.

Overview

com.hubspot.jinjava:jinjava is a Java-based template engine based on django template syntax, adapted to render jinja templates (at least the subset of jinja in use in HubSpot content).

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via the ForTag class, which fails to enforce proper restrictions when iterating over object properties and allows bypassing of sandbox mechanisms. An attacker can execute arbitrary Java code, instantiate unauthorized classes, and access sensitive files by crafting malicious templates that exploit property access and deserialization features.

CVSS Base Scores

version 4.0
version 3.1