Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Jinja2 versions before 3.1.4 are vulnerable. The xmlattr filter accepts keys containing characters such as spaces, slashes, greater-than signs, or equals signs, which can inject extra HTML attributes. An attacker who can supply keys that an application passes to xmlattr and renders on pages other users view could carry out cross-site scripting. Upgrade to Jinja2 3.1.4 or later. Applications should not pass user-supplied keys to xmlattr without validating them, whatever the Jinja version.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.4 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0098, the 63rd percentile, on 23 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 5 May 2024, 23:42 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:35 UTC First seen by agentprime
- 31 Oct 2026, 14:35 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-h75v-3vvj-5mfj
- OSV: GHSA-h75v-3vvj-5mfj
- github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj
- nvd.nist.gov/vuln/detail/CVE-2024-34064
- github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb
- github.com/pallets/jinja
- lists.debian.org/debian-lts-announce/2024/12/msg00009.html
- lists.fedoraproject.org/archives/list/[email protected]/message/567XIGSZMABG6TSMYWD7MIYNJSUQQRUC
- lists.fedoraproject.org/archives/list/[email protected]/message/GCLF44KY43BSVMTE6S53B4V5WP3FRRSE
- lists.fedoraproject.org/archives/list/[email protected]/message/SSCBHIL6BYKR5NRCBXP4XMP2CEEKGFVS
- lists.fedoraproject.org/archives/list/[email protected]/message/ZALNWE3TXPPHVPSI3AZ5CTMSTAVN5UMS