CVE-2024-22195
CVE-2024-22195 · Jinja vulnerable to Cross-Site Scripting (XSS)
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
Jinja is an extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. It is possible to inject arbitrary HTML attributes into the rendered HTML template, potentially leading to Cross-Site Scripting (XSS). The Jinja `xmlattr` filter can be abused to inject arbitrary HTML attribute keys and values, bypassing the auto escaping mechanism and potentially leading to XSS. It may also be possible to bypass attribute validation checks if they are blacklist-based.
CVSS 5.4 · Moyenne · EPSS 0,9% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system · python
Produits et versions concernés
jinja
- Versions du logiciel
- < 3.1.3: Concernée
Aucun correctif publié
jinja2 Debian:12
- Versions du logiciel
- 3.1.2-1
- Plages de versions concernées
- ECOSYSTEM: < 3.1.2-1+deb12u1
Mettez à jour vers 3.1.2-1+deb12u1
jinja2 Debian:13
- Plages de versions concernées
- ECOSYSTEM: < 3.1.3-1
Mettez à jour vers 3.1.3-1
jinja2 Debian:14
- Plages de versions concernées
- ECOSYSTEM: < 3.1.3-1
Mettez à jour vers 3.1.3-1
jinja2 PyPI
- Versions du logiciel
- 2.0
- 2.0rc1
- 2.1
- 2.1.1
- 2.10
- 2.10.1
- 2.10.2
- 2.10.3
- 2.11.0
- 2.11.1
- 2.11.2
- 2.11.3
- 2.2
- 2.2.1
- 2.3
- 2.3.1
- 2.4
- 2.4.1
- 2.5
- 2.5.1
- 2.5.2
- 2.5.3
- 2.5.4
- 2.5.5
- 2.6
- 2.7
- 2.7.1
- 2.7.2
- 2.7.3
- 2.8
- 2.8.1
- 2.9
- 2.9.1
- 2.9.2
- 2.9.3
- 2.9.4
- 2.9.5
- 2.9.6
- 3.0.0
- 3.0.0a1
- 3.0.0rc1
- 3.0.0rc2
- 3.0.1
- 3.0.2
- 3.0.3
- 3.1.0
- 3.1.1
- 3.1.2
- Plages de versions concernées
- ECOSYSTEM: < 3.1.3
Mettez à jour vers 3.1.3
jinja2 Ubuntu:Pro:14.04:LTS
- Versions du logiciel
- 2.7-3
- 2.7.1-1
- 2.7.2-1
- 2.7.2-2
- 2.7.2-2ubuntu0.1~esm1
- Plages de versions concernées
- ECOSYSTEM: < 2.7.2-2ubuntu0.1~esm2
Mettez à jour vers 2.7.2-2ubuntu0.1~esm2
jinja2 Ubuntu:Pro:16.04:LTS
- Versions du logiciel
- 2.8-1
- 2.8-1ubuntu0.1
- 2.8-1ubuntu0.1+esm1
- Plages de versions concernées
- ECOSYSTEM: < 2.8-1ubuntu0.1+esm2
Mettez à jour vers 2.8-1ubuntu0.1+esm2
jinja2 Ubuntu:Pro:18.04:LTS
- Versions du logiciel
- 2.9.6-1
- 2.10-1
- 2.10-1ubuntu0.18.04.1
- Plages de versions concernées
- ECOSYSTEM: < 2.10-1ubuntu0.18.04.1+esm1
Mettez à jour vers 2.10-1ubuntu0.18.04.1+esm1
jinja2 Ubuntu:20.04:LTS
- Versions du logiciel
- 2.10-2ubuntu1
- 2.10-2ubuntu2
- 2.10.1-1ubuntu1
- 2.10.1-2
- Plages de versions concernées
- ECOSYSTEM: < 2.10.1-2ubuntu0.2
Mettez à jour vers 2.10.1-2ubuntu0.2
jinja2 Ubuntu:22.04:LTS
- Versions du logiciel
- 2.11.3-1
- 3.0.1-2
- 3.0.3-1
- Plages de versions concernées
- ECOSYSTEM: < 3.0.3-1ubuntu0.1
Mettez à jour vers 3.0.3-1ubuntu0.1
jinja2 Ubuntu:24.04:LTS
- Versions du logiciel
- 3.1.2-1
- Plages de versions concernées
- ECOSYSTEM: < 3.1.2-1ubuntu1
Mettez à jour vers 3.1.2-1ubuntu1
Sources originales
- https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95
- https://github.com/pallets/jinja/releases/tag/3.1.3
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2/
- https://lists.debian.org/debian-lts-announce/2024/01/msg00010.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP/
- https://lists.debian.org/debian-lts-announce/2024/12/msg00009.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-22195