CVE-2019-8341

CRITICAL

Pocoo Jinja2 - Code Injection

Title source: rule

Description

An issue was discovered in Jinja2 2.10. The from_string function is prone to Server Side Template Injection (SSTI) where it takes the "source" parameter as a template object, renders it, and then returns it. The attacker can exploit it with {{INJECTION COMMANDS}} in a URI. NOTE: The maintainer and multiple third parties believe that this vulnerability isn't valid because users shouldn't use untrusted templates without sandboxing

Exploits (2)

exploitdb WORKING POC
by JameelNabbo · pythonwebappspython
https://www.exploit-db.com/exploits/46386
nomisec WORKING POC
by adindrabkin · poc
https://github.com/adindrabkin/llama_facts

Scores

CVSS v3 9.8
EPSS 0.2541
EPSS Percentile 96.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-94
Status published
Products (3)
opensuse/leap 15.0
opensuse/leap 42.3
pocoo/jinja2 2.10
Published Feb 15, 2019
Tracked Since Feb 18, 2026