ADVISORIES

Vulnerability

CVE-2024-22195

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.

79 advisories report this vulnerability, across 15 ecosystems.

Advisories in Amazon Linux

  • ALAS2-2024-2436

    Amazon Linux 2 2017.12 - ALAS2-2024-2436: medium priority package update for python-jinja2

    Medium CVE-2024-22195 Amazon Linux Updated 1 February 2024
  • ALAS2-2024-2437

    Amazon Linux 2 2017.12 - ALAS2-2024-2437: medium priority package update for python3-jinja2

    Medium CVE-2024-22195 Amazon Linux Updated 1 February 2024
  • ALAS2023-2024-503

    Amazon Linux 2023 - ALAS2023-2024-503: Medium priority package update for python-jinja2

    Medium CVE-2024-22195 Amazon Linux Updated 6 February 2024

References