CVE-2024-22195
MEDIUM EPSS 54.9%
Published Jan 11, 20242y ago · Modified Jun 17, 20261w ago
6.1 CVSS 3.1
Published Jan 11, 2024 2y ago
Last Modified Jun 17, 2026 1w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None
Threat Intelligence
EPSS Exploit Probability
54.9% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-79 Cross-site Scripting Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| palletsprojects | jinja | * | <3.1.3 |
References 7
- github.com https://github.com/pallets/jinja/releases/tag/3.1.3
- github.com https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/01/msg00010.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/12/msg00009.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3/
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.