# jinja2 (PyPI) vulnerabilities

10 known vulnerabilities (6 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://pypi.org/project/jinja2/

## Advisories (10)

### [CVE-2025-27516](https://cve.now/CVE-2025-27516): Jinja sandbox breakout through attr filter selecting format method

- Severity: Medium 5.4
- Published: Mar 5, 2025
- Affected: fixed in 3.1.6.

### [CVE-2024-56326](https://cve.now/CVE-2024-56326): Jinja has a sandbox breakout through indirect reference to format method

- Severity: Medium 5.4
- Published: Dec 23, 2024
- Affected: fixed in 3.1.5.

### [CVE-2024-56201](https://cve.now/CVE-2024-56201): Jinja has a sandbox breakout through malicious filenames

- Severity: Medium 5.4
- Published: Dec 23, 2024
- Affected: from 3.0.0, fixed in 3.1.5.

### [CVE-2024-34064](https://cve.now/CVE-2024-34064): Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter

- Severity: Medium 5.4
- Published: May 6, 2024
- Affected: fixed in 3.1.4.

### [CVE-2024-22195](https://cve.now/CVE-2024-22195): Jinja vulnerable to Cross-Site Scripting (XSS)

- Severity: Medium 5.4
- Published: Jan 11, 2024
- Affected: fixed in 3.1.3.

### [CVE-2020-28493](https://cve.now/CVE-2020-28493): Regular Expression Denial of Service (ReDoS)

- Severity: Medium 5.3
- Published: Feb 1, 2021
- Affected: fixed in 2.11.3; fixed in 2.11.3.

### [CVE-2016-10745](https://cve.now/CVE-2016-10745): In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.

- Severity: Unrated
- Published: Apr 8, 2019
- Affected: fixed in 2.8.1.

### [CVE-2019-10906](https://cve.now/CVE-2019-10906): In Pallets Jinja before 2.10.1, str.format\_map allows a sandbox escape.

- Severity: Unrated
- Published: Apr 6, 2019
- Affected: fixed in 2.10.1.

### [CVE-2014-1402](https://cve.now/CVE-2014-1402): The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create temporary files, which…

- Severity: Unrated
- Published: May 19, 2014
- Affected: fixed in 2.7.2.

### [CVE-2014-0012](https://cve.now/CVE-2014-0012): FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by…

- Severity: Unrated
- Published: May 19, 2014
- Affected: fixed in 2.7.3; fixed in 2.7.2.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/pypi/jinja2
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
