Jinja Palletsprojects Jinja

Don't miss out!

Thousands of developers use stack.watch to stay informed.
Get an email whenever new security vulnerabilities are reported in Palletsprojects Jinja.

By the Year

In 2026 there have been 0 vulnerabilities in Palletsprojects Jinja. Jinja did not have any published security vulnerabilities last year.

Year Vulnerabilities Average Score
2026 0 0.00
2025 0 0.00
2024 1 5.40
2023 0 0.00
2022 0 0.00
2021 1 5.30
2020 0 0.00
2019 1 8.60

It may take a day or so for new Jinja vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.

Recent Palletsprojects Jinja Security Vulnerabilities

Jinja XSS via xmlattr filter bypassing auto-escaping
CVE-2024-22195 5.4 - Medium - January 11, 2024

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, bypassing the auto escaping mechanism and potentially leading to XSS. It may also be possible to bypass attribute validation checks if they are blacklist-based.

XSS

This affects the package jinja2 from 0.0.0 and before 2.11.3
CVE-2020-28493 5.3 - Medium - February 01, 2021

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, or by implementing request timeouts and limiting process memory.

Resource Exhaustion

In Pallets Jinja before 2.10.1, str.format_map
CVE-2019-10906 8.6 - High - April 07, 2019

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

Stay on top of Security Vulnerabilities

Want an email whenever new vulnerabilities are published for Palletsprojects Jinja or by Palletsprojects? Click the Watch button to subscribe.

subscribe