synced 9 MIN AGO
01 Record

CVE-2024-34064

Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter

MediumPUBLISHEDCNA: GitHub_M
CNA base score5.4 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

02 Description

Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.97% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 61.7% of scored records. A rank, not a probability.
NVD base score
5.4 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-05-06 14:41Z2 YR AGO
Last updated
2025-11-03 21:54Z11 MO AGO
Reserved
2024-04-30
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
Medium (CVSS 5.4)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weaknesses
  • CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')Base
Data version
5.2
Document digest
39bf1262d43e4e645d5d5494e144d88472c687bab91d1407c012742e4587ba92

05 Affected products

VendorProductVersionsPlatforms
palletsjinja< 3.1.4—

06 References

07 Fixed in

AlmaLinux 8

  • python3-jinja2
    Fixed in 2.10.1-5.el8_10

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • fence-agents-aliyun
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-all
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-amt-ws
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-apc
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-apc-snmp
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-aws
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-azure-arm
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-bladecenter
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-brocade
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-cisco-mds
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-cisco-ucs
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-common
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-compute
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-drac5
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-eaton-snmp
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-emerson
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-eps
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-gce
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-heuristics-ping
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-hpblade
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ibm-powervs
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ibm-vpc
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ibmblade
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ifmib
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ilo-moonshot
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ilo-mp
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ilo-ssh
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ilo2
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-intelmodular
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ipdu
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ipmilan
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-kdump
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-kubevirt
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-lpar
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-mpath
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-openstack
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-redfish
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-rhevm
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-rsa
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-rsb
    Fixed in 4.10.0-62.el9_4.3

16 further packages in AlmaLinux 9 not shown (first 40 listed).

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • python3-jinja2
    Fixed in 2.10.1-5.el8_10

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • fence-agents-aliyun
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-all
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-amt-ws
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-apc
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-apc-snmp
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-aws
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-azure-arm
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-bladecenter
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-brocade
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-cisco-mds
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-cisco-ucs
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-common
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-compute
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-drac5
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-eaton-snmp
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-emerson
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-eps
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-gce
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-heuristics-ping
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-hpblade
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ibm-powervs
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ibm-vpc
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ibmblade
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ifmib
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ilo-moonshot
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ilo-mp
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ilo-ssh
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ilo2
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-intelmodular
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ipdu
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-ipmilan
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-kdump
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-kubevirt
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-lpar
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-mpath
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-openstack
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-redfish
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-rhevm
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-rsa
    Fixed in 4.10.0-62.el9_4.3
  • fence-agents-rsb
    Fixed in 4.10.0-62.el9_4.3

16 further packages in CloudLinux 9 not shown (first 40 listed).

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • jinja2
    Fixed in 3.1.2-1+deb12u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • jinja2
    Fixed in 3.1.3-1.1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • jinja2
    Fixed in 3.1.3-1.1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • jinja2
    Fixed in 2.10.1-2ubuntu0.3

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • jinja2
    Fixed in 3.0.3-1ubuntu0.2

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • jinja2
    Fixed in 3.1.2-1ubuntu1.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • jinja2
    Fixed in 2.7.2-2ubuntu0.1~esm3
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • jinja2
    Fixed in 2.8-1ubuntu0.1+esm3
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • jinja2
    Fixed in 2.10-1ubuntu0.18.04.1+esm2
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.