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
A security update for python-jinja2 is available from Red Hat for Red Hat Enterprise Linux 8. Users should apply the update as described in Red Hat advisory RHSA-2024:3102 and restart all applications using Jinja2 to ensure the fix is applied. No other mitigation steps are indicated.
Description
A moderate severity vulnerability (CVE-2024-22195) in the python-jinja2 package allows HTML attribute injection when user input is passed as keys to the xmlattr filter. This flaw affects the Jinja2 template engine used in Red Hat Enterprise Linux 8. A security update is available that addresses this issue. Users must apply the update and restart all applications using Jinja2 for the fix to take effect.
References
- access.redhat.com/errata/RHSA-2024:3102 (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/8/html/8.10_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_3102.json (opens in a new tab)