CVE-2024-34064
CVSS 3.1 Score 5.4 of 10 (medium)
Details
Summary
CVE-2024-34064 is a new vulnerability affecting Jinja, an extensible templating engine. The `xmlattr` filter, present in impacted versions, accepts keys with non-attribute characters, which are not allowed in XML/HTML attributes. An attacker who can provide keys as user input may inject unwanted attributes, potentially leading to Cross-Site Scripting (XSS) attacks. Previous patch CVE-2024-22195 only addressed space characters in keys, but not others. Jinja now considers accepting keys as user input an unintended use case of the `xmlattr` filter. Code that does so without proper input validation is considered insecure. The vulnerability is addressed in version 3.1.4.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Advisories, Assessments, and Mitigations
Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future
- Gain complete coverage of your cyber, third party, and physical attack surface
- Proactively mitigate threats before they turn into costly attacks
- Make fast, effective, data-driven decisions