Skip to main content
CVE-2024-22195VulnerabilityPublished Updated

Red Hat Security Advisory: python-jinja2 security update

Affects Red Hat python-jinja2Source GCVE Database

0
Compare
Authoritative record:CVE-2024-22195· Medium 5.4

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

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Jan 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIjinjapkg:pypi/jinjaOther threatsAffected
  • <3.1.3
Fixed in
  • 3.1.3

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

Community reviews

Loading reviews…