CVE-2024-22195
Last modified
CVE-2024-22195 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. Jinja is an extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. EPSS estimates a 0.89% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Palletsprojects | Jinja | < 3.1.3 |
References
- https://github.com/pallets/jinja/releases/tag/3.1.3Release Notes
- https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95Third Party Advisory
- https://github.com/pallets/jinja/releases/tag/3.1.3Release Notes
- https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-22195?
How severe is CVE-2024-22195?
How do I fix CVE-2024-22195?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-2219Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-22190GitPython is a python library used to interact with Git repo…7.8
- CVE-2024-22191Avo is a framework to create admin panels for Ruby on Rails …5.4
- CVE-2024-22192Ursa is a cryptographic library for use with blockchains. Th…6.5
- CVE-2024-22193The vantage6 technology enables to manage and deploy privacy…4.3
- CVE-2024-22194cdo-local-uuid project provides a specialized UUID-generatin…2.8
- CVE-2024-22196Nginx-UI is an online statistics for Server Indicators Mon…6.5
- CVE-2024-22197Nginx-ui is online statistics for Server Indicators Monito…8.8
- CVE-2024-22198Nginx-UI is a web interface to manage Nginx configurations. …8.8
- CVE-2024-22199This package provides universal methods to use multiple temp…6.1
- CVE-2024-2220The Button contact VR WordPress plugin through 4.7 does not …3.5
- CVE-2024-22200vantage6-UI is the User Interface for vantage6. The docker i…5.3
Are you affected by CVE-2024-22195?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
