Red Hat Security Advisory: python-jinja2 security update
Affects Red Hat python-jinja2Source GCVE Database
Not known to be exploited · CVSS 5.4 Medium : upgrade Red Hat jinja to 3.1.3 when convenient.
Data as of 1 Nov 2026, 08:20 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.4 |
|---|
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 59% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.1.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 31 Oct 2026.
What to do
Upgrade jinja to 3.1.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIjinjapkg:pypi/jinjaOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Red Hat has released an official security update for python-jinja2 in Red Hat Enterprise Linux 9 and its extended support versions. Applying this update and restarting all applications that use Jinja2 is required to remediate the vulnerability. Users should follow Red Hat's update instructions at https://access.redhat.com/articles/11258. No additional mitigation steps are indicated by the vendor.
Description
A security update for the python-jinja2 package addresses an HTML attribute injection vulnerability (CVE-2024-22195) that occurs when user input is passed as keys to the xmlattr filter. This vulnerability affects Red Hat Enterprise Linux 9 and related variants. The issue has been rated as having moderate security impact by Red Hat Product Security. The update requires restarting all applications using Jinja2 to take effect.
References
- access.redhat.com/errata/RHSA-2024:2348 (opens in a new tab)
- access.redhat.com/security/updates/classification/ (opens in a new tab)
- access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.4_release_notes/index (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2257854 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_2348.json (opens in a new tab)