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

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
CVSS v2 : unknown
v3 : 5.4
v2 : unknown
v3 : 6.1
First Time Palletsprojects jinja
Palletsprojects
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
CPE cpe:2.3:a:palletsprojects:jinja:*:*:*:*:*:*:*:*

11 Jan 2024, 13:57

Type Values Removed Values Added
Summary
  • (es) Jinja es un motor de plantillas extensible. Los marcadores de posición especiales en la plantilla permiten escribir código similar a la sintaxis de Python. Es posible inyectar atributos HTML arbitrarios en la plantilla HTML renderizada, lo que podría generar cross site scripting (XSS). Se puede abusar del filtro Jinja `xmlattr` para inyectar claves y valores de atributos HTML arbitrarios, evitando el mecanismo de escape automático y potencialmente conduciendo a XSS. También es posible omitir las comprobaciones de validación de atributos si están basadas en listas negras.

11 Jan 2024, 03:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-11 03:15

Updated : 2024-01-27 03:15


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')