cbcvebase.
CVE-2024-22195
published 2024-01-11

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…

PriorityP427medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
0.89%
55.7th percentile
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

28 ranges· showing 25
VendorProductVersion rangeFixed in
debianjinja2< jinja2 3.1.2-1+deb12u1 (bookworm)jinja2 3.1.2-1+deb12u1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
msrcazl3_mozjs_102.15.1-1_on_azure_linux_3.0
msrcazl3_nodejs_20.14.0-1_on_azure_linux_3.0
msrcazl3_nodejs_20.14.0-8_on_azure_linux_3.0
msrcazl3_python-jinja2_3.1.2-2_on_azure_linux_3.0
msrcazl3_python-jinja2_3.1.2-3_on_azure_linux_3.0
msrccbl2_nodejs18_18.20.3-3_on_cbl_mariner_2.0
msrccbl2_nodejs18_18.20.3-5_on_cbl_mariner_2.0
msrccbl2_python-jinja2_3.0.3-3_on_cbl_mariner_2.0
msrccbl2_python-jinja2_3.0.3-7_on_cbl_mariner_2.0
palletsjinja< 3.1.43.1.4
palletsprojectsjinja< 3.1.33.1.3
palletsprojectsjinja< 3.1.43.1.4
pocoojinja2>= 0 < 2.11.3-1+deb11u12.11.3-1+deb11u1
pocoojinja2>= 0 < 3.1.2-1+deb12u13.1.2-1+deb12u1
pocoojinja2>= 0 < 3.1.3-13.1.3-1
pocoojinja2>= 0 < 3.1.3-1.13.1.3-1.1
pocoojinja2>= 0 < 3.1.3-13.1.3-1
pocoojinja2>= 0 < 3.1.3-1.13.1.3-1.1
pocoojinja2>= 0 < 3.1.43.1.4
pocoojinja2>= 0 < 3.1.33.1.3
pocoojinja2>= 0 < 2.10.1-2ubuntu0.22.10.1-2ubuntu0.2
pocoojinja2>= 0 < 3.0.3-1ubuntu0.13.0.3-1ubuntu0.1

CVSS provenance

nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
ghsa6.1MEDIUM
osv6.1MEDIUM
vendor_msrc6.1MEDIUM
vendor_debian5.4MEDIUM
vendor_redhat5.4MEDIUM
vendor_ubuntu5.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.