DEBIAN-CVE-2024-22195

    Dashboard / Vulnerabilities / DEBIAN-CVE-2024-22195

    DEBIAN-CVE-2024-22195

    Published: 11 Jan 2024Last Modified: 15 Sept 2026
    Upstream:

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: jinja2

    Purl: pkg:deb/debian/jinja2?arch=source&distro=bookworm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.1.2-1+deb12u1

    Affected versions

    3.1.2-1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DEBIAN-CVE-2024-22195 | CVE-DB