Medium severity · published Feb 19, 2021
CVE-2020-12668
Jinjava before 2.5.4 allow access to arbitrary classes by calling Java methods on objects passed into a Jinjava context
6.5
CVSS
1.8%
EPSS
No
On KEV
Description
Jinjava before 2.5.4 allow access to arbitrary classes by calling Java methods on objects passed into a Jinjava context. This could allow for abuse of the application class loader, including Arbitrary File Disclosure.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.8% · higher than 79% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JI
Jinjava · Hubspot
before 2.5.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-12668
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-12668
Release Notes
https://github.com/HubSpot/jinjava/compare/jinjava-2.5.3...jinjava-2.5.4
Patch
https://github.com/HubSpot/jinjava/pull/426/commits/5dfa5b87318744a4d020b66d5f7747acc36b213b
Patch
https://github.com/HubSpot/jinjava/pull/435/commits/1b9aaa4b420c58b4a301cf4b7d26207f1c8d1165
Release Notes
https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.5.4
Exploit
https://securitylab.github.com/advisories/GHSL-2020-072-hubspot_jinjava
More from Jinjava
10.0
CVE-2025-59340
jinjava is a Java-based template engine based on django template syntax, adapted to render jinja templates
9.8
CVE-2026-25526
JinJava Bypass through ForTag leads to Arbitrary Java Execution
5.3
CVE-2018-18893
Jinjava before 2.4.6 does not block the getClass method, related to com/hubspot/jinjava/el/ext/JinjavaBeanELResolver.java
