# Jinja2 (PyPI)

A very fast and expressive template engine.

- Latest: 3.1.6 (2025-03-05)
- Licence: non-standard
- Downloads: 711184928 last month
- Advisories on the latest version: 0

- CVE-2025-27516 : Jinja2 vulnerable to sandbox breakout through attr filter selecting format method Fixed in 3.1.6.
- CVE-2024-56201 : Jinja has a sandbox breakout through malicious filenames Fixed in 3.1.5.
- CVE-2024-22195 : Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter Fixed in 3.1.3.
- CVE-2024-34064 : Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter Fixed in 3.1.4.
- CVE-2024-56326 : Jinja has a sandbox breakout through indirect reference to format method Fixed in 3.1.5.
- CVE-2025-27516 MODERATE: Jinja2 vulnerable to sandbox breakout through attr filter selecting format method Fixed in 3.1.6.
- CVE-2024-56201 MODERATE: Jinja has a sandbox breakout through malicious filenames Fixed in 3.1.5.
- CVE-2024-56326 MODERATE: Jinja has a sandbox breakout through indirect reference to format method Fixed in 3.1.5.
- CVE-2024-34064 MODERATE: Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter Fixed in 3.1.4.
- CVE-2024-22195 MODERATE: Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter Fixed in 3.1.3.
- CVE-2014-0012 MODERATE: Insecure Temporary File in Jinja2 Fixed in 2.7.2.
- CVE-2014-1402 HIGH: Incorrect Privilege Assignment in Jinja2 Fixed in 2.7.2.
- CVE-2020-28493 MODERATE: Regular Expression Denial of Service (ReDoS) in Jinja2 Fixed in 2.11.3.
- CVE-2020-28493 :  Fixed in 2.11.3.
- CVE-2019-10906 HIGH: Jinja2 sandbox escape via string formatting Fixed in 2.10.1.
- CVE-2016-10745 HIGH: Jinja2 sandbox escape vulnerability Fixed in 2.8.1.
- CVE-2016-10745 :  Fixed in 2.8.1.
- CVE-2019-10906 :  Fixed in 2.10.1.
- CVE-2014-1402 :  Fixed in 2.7.2.
- CVE-2014-0012 :  Fixed in 2.7.3.

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
