Description
JinJava is a Java-based template engine based on django template syntax, adapted to render jinja templates. Prior to versions 2.7.6 and 2.8.3, JinJava is vulnerable to arbitrary Java execution via bypass through ForTag. This allows arbitrary Java class instantiation and file access bypassing built-in sandbox restrictions. This issue has been patched in versions 2.7.6 and 2.8.3.
Problem types
CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
Product status
< 2.8.3
References
github.com/...injava/security/advisories/GHSA-gjx9-j8f8-7j74
github.com/...ommit/3d02e504d8bbb13bf3fe019e9ca7b51dfce7a998
github.com/...ommit/c7328dce6030ac718f88974196035edafef24441
github.com/HubSpot/jinjava/releases/tag/jinjava-2.7.6
github.com/HubSpot/jinjava/releases/tag/jinjava-2.8.3