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.
CVE-2024-22195
This medium-severity CVE scores 5.4 under NVD CVSS v3. EPSS exploit probability: 0.9% (57th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.4
- EG Score
- 5.4MEDIUMmedium confidence
- EG Risk
- 25EG Risk 25/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity54% × 45%Exploitation1% × 40%Automatability0% × 15%CISA SSVC: Track at every mission impact level.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.9%
- EPSS %ILE
- 58th
- KEV
- Not listed
CISA SSVCTrack at every mission impact level.
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
January 11, 2024
Last Modified
November 3, 2025
References (13)
- security-advisories@githubhttps://github.com/pallets/jinja/releases/tag/3.1.3
- security-advisories@githubhttps://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95
- security-advisories@githubhttps://lists.debian.org/debian-lts-announce/2024/01/msg00010.html
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/[email protected]/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/[email protected]/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/[email protected]/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3/
- af854a3a-2127-422b-91ae-364da2661108https://github.com/pallets/jinja/releases/tag/3.1.3
- af854a3a-2127-422b-91ae-364da2661108https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/01/msg00010.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/12/msg00009.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/[email protected]/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2/
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/[email protected]/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP/
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/[email protected]/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3/
Vendor Advisories for CVE-2024-22195(9)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2024:3927Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Ceph Storage 7.1 container image security, and bug fix update
- RHSA-2024:2968Red Hat Product SecurityMedium
Red Hat Security Advisory: fence-agents security and bug fix update
- RHSA-2024:2132Red Hat Product SecurityMedium
Red Hat Security Advisory: fence-agents security and bug fix update
- RHSA-2024:2010Red Hat Product SecurityHigh
Red Hat Security Advisory: Satellite 6.15.0 release
- RHSA-2024:1640Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
- RHBA-2024:1137Red Hat Product SecurityMedium
Red Hat Bug Fix Advisory: fence-agents bug fix update
- RHSA-2024:1155Red Hat Product SecurityMedium
Red Hat Security Advisory: fence-agents security update
- RHSA-2024:1057Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
- +1 more
Patch Availability(14)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3-jinja2 (3.1.2-1ubuntu0.23.10.1) @ mantic | 2026-05-24 | ubuntu |
| redhat | rhceph/snmp-notifier-rhel9:1.2.1-67 | 2024-06-13 | redhat |
| redhat | python-jinja2-0:2.10.1-4.el8 | 2024-05-22 | redhat |
| redhat | openstack-ansible-core-0:2.14.2-4.3.el9ost | 2024-05-22 | redhat |
| redhat | python27:2.7-8100020240208011952.5f0f67de | 2024-05-22 | redhat |
| redhat | fence-agents-0:4.2.1-129.el8 | 2024-05-22 | redhat |
| redhat | fence-agents-0:4.10.0-62.el9 | 2024-04-30 | redhat |
| redhat | python-jinja2-0:2.11.3-5.el9 | 2024-04-30 | redhat |
| redhat | python-jinja2-0:3.1.3-1.el8pc | 2024-04-23 | redhat |
| redhat | python-jinja2-0:3.1.3-1.el8ui | 2024-04-18 | redhat |
| redhat | automation-controller-0:4.5.5-2.el9ap | 2024-04-02 | redhat |
| redhat | python-jinja2-0:3.1.3-0.1.el8pc | 2024-03-27 | redhat |
| redhat | fence-agents-0:4.10.0-20.el9_0.11 | 2024-03-05 | redhat |
| redhat | python-jinja2-0:3.1.3-1.el9ap | 2024-02-29 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(14 across 14 ecosystems)
Alpine:v3.17(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.18(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.19(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.20(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.21(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.22(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.23(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Alpine:v3.24(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| py3-jinja2 | — |
| — |
Debian:10(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| jinja2 | 2.10-2 |
| — |
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| jinja2 | 2.11.3-1 |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| jinja2 | 3.1.2-1 |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| jinja2 | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| jinja2 | — |
| — |
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| jinja2 | 2.0 ... 3.1.2 (48 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(7)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2024:1536MODERATE2024-01-11
RHSA-2024:1536 — Moderate
- Red HatRHSA-2024:1878MODERATE2024-01-11
RHSA-2024:1878 — Moderate
- Red HatRHSA-2024:2348MODERATE2024-01-11
RHSA-2024:2348 — Moderate
- Red HatRHSA-2024:2733MODERATE2024-01-11
RHSA-2024:2733 — Moderate
- Red HatRHSA-2024:2987MODERATE2024-01-11
RHSA-2024:2987 — Moderate
- Red HatRHSA-2024:3102MODERATE2024-01-11
RHSA-2024:3102 — Moderate
- UbuntuUSN-6599-1MEDIUM
Jinja2 vulnerabilities
Data Freshness Timeline
(refreshed 7× in last 7d / 24× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 181 total refreshes for this CVE.
- 2026-10-09 20:05 UTCEPSS rescore
- 2026-10-08 17:07 UTCEPSS rescore
- 2026-10-07 23:46 UTCEPSS rescore
- 2026-10-06 15:15 UTCEPSS rescore
- 2026-10-05 17:41 UTCEPSS rescore
- 2026-10-04 23:20 UTCEPSS rescore
- 2026-10-03 14:23 UTCEPSS rescore
- 2026-10-01 19:48 UTCEPSS rescore
- 2026-09-30 16:57 UTCEG score recompute
- 2026-09-30 15:01 UTCEPSS rescore
- 2026-09-29 15:17 UTCEPSS rescore
- 2026-09-28 13:49 UTCEPSS rescore
- 2026-09-24 14:01 UTCEPSS rescore
- 2026-09-23 13:46 UTCEPSS rescore
- 2026-09-23 13:46 UTCEPSS rescore
- 2026-09-22 11:15 UTCOSV refresh
- 2026-09-20 20:14 UTCEPSS rescore
- 2026-09-16 14:06 UTCEPSS rescore
- 2026-09-16 05:11 UTCEPSS rescore
- 2026-09-15 03:08 UTCEPSS rescore
- 2026-09-13 16:45 UTCEPSS rescore
- 2026-09-12 14:59 UTCEPSS rescore
- 2026-09-11 14:51 UTCEPSS rescore
- 2026-09-11 09:34 UTCEPSS rescore
- 2026-09-08 21:58 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-07 15:59 UTCEPSS rescore
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-05 15:26 UTCEPSS rescore
- 2026-09-04 13:58 UTCEPSS rescore
- 2026-09-04 05:05 UTCEPSS rescore
- 2026-09-03 08:29 UTCOSV refresh
- 2026-09-02 14:10 UTCEPSS rescore
- 2026-09-01 13:52 UTCEPSS rescore
- 2026-08-30 19:15 UTCEPSS rescore
- 2026-08-30 01:20 UTCEPSS rescore
- 2026-08-28 21:39 UTCEPSS rescore
- 2026-08-27 14:23 UTCEPSS rescore
- 2026-08-26 14:44 UTCEPSS rescore
- 2026-08-25 13:47 UTCEPSS rescore
- 2026-08-23 00:17 UTCEPSS rescore
- 2026-08-21 23:47 UTCEPSS rescore
- 2026-08-20 22:53 UTCEPSS rescore
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-18 13:46 UTCEPSS rescore
- 2026-08-16 21:56 UTCOSV refresh
- 2026-08-16 14:54 UTCEPSS rescore
- 2026-08-16 14:54 UTCEPSS rescore
- 2026-08-16 02:12 UTCEPSS rescore
- 2026-08-15 01:28 UTCEPSS rescore
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-12 13:49 UTCEPSS rescore
- 2026-08-11 13:40 UTCEPSS rescore
- 2026-08-09 13:45 UTCEPSS rescore
- 2026-08-08 16:35 UTCEPSS rescore
- 2026-08-06 13:45 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-04 15:08 UTCEPSS rescore
- 2026-08-04 10:36 UTCEPSS rescore
- 2026-08-03 10:34 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-01 15:36 UTCOSV refresh
- 2026-08-01 04:14 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 01:29 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-27 14:11 UTCEPSS rescore
- 2026-07-26 14:53 UTCEPSS rescore
- 2026-07-25 14:16 UTCEPSS rescore
- 2026-07-24 14:16 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 02:33 UTCEG score recompute
- 2026-07-22 23:20 UTCEG score recompute
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:06 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-14 22:55 UTCOSV refresh
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownAlpine:v3.17:py3-jinja2 · Alpine:v3.18:py3-jinja2 · Debian:11:jinja2
Same vendor
10 shownredhat:RHSA-2024:1057 · redhat:RHSA-2024:1536 · redhat:RHSA-2024:1155
Frequently asked(5)
What is CVE-2024-22195?
When was CVE-2024-22195 disclosed?
Is CVE-2024-22195 actively exploited?
What is the CVSS score of CVE-2024-22195?
How do I remediate CVE-2024-22195?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-22195
Is Your Infrastructure Affected by CVE-2024-22195?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.