Vulnerability

CVE-2024-22195

mediumCVSS 3.1 6.1Published 11 Jan 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Palletsprojects jinja

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning