CVE-2024-22195 — Cross-site Scripting in Jinja
Severity
6.1MEDIUMNVD
CNA5.4GHSA5.4OSV5.3
EPSS
0.2%
top 64.28%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 11
Latest updateMay 6
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 blac…
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitability: 2.8 | Impact: 2.7
Affected Packages5 packages
🔴Vulnerability Details
6📋Vendor Advisories
5Red Hat
▶
Debian▶
CVE-2024-22195: jinja2 - Jinja is an extensible templating engine. Special placeholders in the template a...↗2024