Palletsprojects Jinja vulnerabilities

8 known vulnerabilities affecting palletsprojects/jinja.

Total CVEs
8
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH2MEDIUM6

Vulnerabilities

Page 1 of 1
CVE-2025-27516MEDIUMCVSS 5.4fixed in 3.1.62025-03-05
CVE-2025-27516 [MEDIUM] CWE-1336 CVE-2025-27516: Jinja is an extensible templating engine. Prior to 3.1.6, an oversight in how the Jinja sandboxed en Jinja is an extensible templating engine. Prior to 3.1.6, an oversight in how the Jinja sandboxed environment interacts with the |attr filter allows an attacker that controls the content of a template to execute arbitrary Python code. To exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depe
nvd
CVE-2024-56326MEDIUMCVSS 5.4fixed in 3.1.52024-12-23
CVE-2024-56326 [MEDIUM] CWE-693 CVE-2024-56326: Jinja is an extensible templating engine. Prior to 3.1.5, An oversight in how the Jinja sandboxed en Jinja is an extensible templating engine. Prior to 3.1.5, An oversight in how the Jinja sandboxed environment detects calls to str.format allows an attacker that controls the content of a template to execute arbitrary Python code. To exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends o
nvd
CVE-2024-56201MEDIUMCVSS 5.4≥ 3.0.0, < 3.1.52024-12-23
CVE-2024-56201 [MEDIUM] CWE-150 CVE-2024-56201: Jinja is an extensible templating engine. In versions on the 3.x branch prior to 3.1.5, a bug in the Jinja is an extensible templating engine. In versions on the 3.x branch prior to 3.1.5, a bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used. To exploit the vulnerability, an attacker needs to control both the filename and t
nvd
CVE-2024-34064MEDIUMCVSS 5.4fixed in 3.1.42024-05-06
CVE-2024-34064 [MEDIUM] CVE-2024-34064: Jinja is an extensible templating engine. The `xmlattr` filter in affected versions of Jinja accepts Jinja is an extensible templating engine. The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted as starting a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders t
nvd
CVE-2024-22195MEDIUMCVSS 6.1fixed in 3.1.32024-01-11
CVE-2024-22195 [MEDIUM] CWE-79 CVE-2024-22195: Jinja is an extensible templating engine. Special placeholders in the template allow writing code si Jinja is an extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. It is possible to inject arbitrary HTML attributes into the rendered HTML template, potentially leading to Cross-Site Scripting (XSS). The Jinja `xmlattr` filter can be abused to inject arbitrary HTML attribute keys and values,
nvd
CVE-2020-28493MEDIUMCVSS 5.3fixed in 2.11.32021-02-01
CVE-2020-28493 [MEDIUM] CWE-400 CVE-2020-28493: This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as it searches for trailing punctuation. This issue can be mitigated by Markdown to format user content instead of the urlize filter, o
nvd
CVE-2016-10745HIGHCVSS 8.6fixed in 2.8.12019-04-08
CVE-2016-10745 [HIGH] CWE-134 CVE-2016-10745: In Pallets Jinja before 2.8.1, str.format allows a sandbox escape. In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.
nvd
CVE-2019-10906HIGHCVSS 8.6fixed in 2.10.12019-04-07
CVE-2019-10906 [HIGH] CVE-2019-10906: In Pallets Jinja before 2.10.1, str.format_map allows a sandbox escape. In Pallets Jinja before 2.10.1, str.format_map allows a sandbox escape.
nvd