VYPR

PyPI package

jinja2

pkg:pypi/jinja2

Vulnerabilities (10)

  • CVE-2025-27516Mar 5, 2025
    affected < 3.1.6fixed 3.1.6

    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 nee

  • CVE-2024-56326Dec 23, 2024
    affected < 3.1.5fixed 3.1.5

    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 t

  • CVE-2024-56201Dec 23, 2024
    affected >= 3.0.0, < 3.1.5fixed 3.1.5

    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

  • CVE-2024-34064May 6, 2024
    affected < 3.1.4fixed 3.1.4

    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 ap

  • CVE-2024-22195Jan 11, 2024
    affected < 3.1.3fixed 3.1.3

    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` f

  • CVE-2020-28493Feb 1, 2021
    affected < 2.11.3fixed 2.11.3

    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 miti

  • CVE-2016-10745Apr 8, 2019
    affected < 2.8.1fixed 2.8.1

    In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.

  • CVE-2019-10906Apr 6, 2019
    affected < 2.10.1fixed 2.10.1

    In Pallets Jinja before 2.10.1, str.format_map allows a sandbox escape.

  • CVE-2014-1402May 19, 2014
    affected < 2.7.2fixed 2.7.2

    The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create temporary files, which allows local users to gain privileges via a crafted .cache file with a name starting with __jinja2_ in /tmp.

  • CVE-2014-0012May 19, 2014
    affected < 2.7.2fixed 2.7.2

    FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by pre-creating a temporary directory with a user's uid. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1402.