Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-22195

5.4 · MEDIUM
Published Jan 11, 2024 palletsprojects CWE-79 EPSS 0.89% (57th pctl)

Overview

CVE-2024-22195 is a medium-severity vulnerability affecting palletsprojects jinja. It was published on January 11, 2024 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from palletsprojects. Update jinja to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
palletsprojects jinja >= 0, < 3.1.3 Affected

Frequently Asked Questions

What is CVE-2024-22195?

CVE-2024-22195 is a medium-severity vulnerability affecting palletsprojects jinja. It was published on January 11, 2024 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

How severe is CVE-2024-22195?

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-22195?

Check the references section for vendor advisories and patches from palletsprojects. Update jinja to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-22195?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-22195 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.