Vulnerabilities
Vulnerable Software
Palletsprojects:  >> Jinja  >> 2.1.1  Security Vulnerabilities
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.
CVSS Score
5.4
EPSS Score
0.001
Published
2024-01-11
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.
CVSS Score
5.3
EPSS Score
0.002
Published
2021-02-01
In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.
CVSS Score
8.6
EPSS Score
0.01
Published
2019-04-08
In Pallets Jinja before 2.10.1, str.format_map allows a sandbox escape.
CVSS Score
8.6
EPSS Score
0.027
Published
2019-04-07


Contact Us

Shodan ® - All rights reserved