CVE-2024-34064: Jinja is an extensible templating engine
CVE-2024-34064 is a medium-severity flaw (CVSS 5.4) affecting jinja, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Jinja is an extensible templating engine. The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted as starting a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attr
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.0% (top 38%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-05-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-34064?
jinja: upgrade to 3.1.4; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-34064 being exploited?
CVE-2024-34064 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-34064 affect?
CVE-2024-34064 affects jinja, fedora. Severity is medium (CVSS 5.4). Jinja is an extensible templating engine. The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted as
How urgent is CVE-2024-34064?
Priority 34/100. No elevated risk signals yet.
Related CVEs
- CVE-2025-27516 HIGH 8.8 UPGRADE MITIGATE Jinja is an extensible templating engine
- CVE-2024-56326 HIGH 7.8 UPGRADE Jinja is an extensible templating engine
- CVE-2024-56201 HIGH 8.8 UPGRADE Jinja is an extensible templating engine
- CVE-2024-22195 MEDIUM 5.4 UPGRADE Jinja is an extensible templating engine