CVE-2024-22195

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:palletsprojects:jinja:*:*:*:*:*:*:*:*

History

13 Feb 2025, 18:16

Type Values Removed Values Added
Summary (en) 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. (en) 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.

21 Nov 2024, 08:55

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 6.1
v2 : unknown
v3 : 5.4
References () https://github.com/pallets/jinja/releases/tag/3.1.3 - Release Notes () https://github.com/pallets/jinja/releases/tag/3.1.3 - Release Notes
References () https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95 - Third Party Advisory () https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95 - Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2024/01/msg00010.html - () https://lists.debian.org/debian-lts-announce/2024/01/msg00010.html -
References () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2/ - () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2/ -
References () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP/ - () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP/ -
References () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3/ - () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3/ -

27 Jan 2024, 03:15

Type Values Removed Values Added
References
  • () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP/ -

25 Jan 2024, 02:15

Type Values Removed Values Added
References
  • () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3/ -

23 Jan 2024, 19:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/01/msg00010.html -

23 Jan 2024, 03:15

Type Values Removed Values Added
References
  • () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2/ -

16 Jan 2024, 23:58

Type Values Removed Values Added
First Time Palletsprojects
Palletsprojects jinja
References () https://github.com/pallets/jinja/releases/tag/3.1.3 - () https://github.com/pallets/jinja/releases/tag/3.1.3 - Release Notes
References () https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95 - () https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95 - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
CWE CWE-79
CPE cpe:2.3:a:palletsprojects:jinja:*:*:*:*:*:*:*:*

11 Jan 2024, 03:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-11 03:15

Updated : 2025-02-13 18:16


NVD link : CVE-2024-22195

Mitre link : CVE-2024-22195

CVE.ORG link : CVE-2024-22195


JSON object : View

Products Affected

palletsprojects

  • jinja
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')