<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2024-0049</id>
    <title>An update for python-jinja2 is now available for HCE 2.0</title>
    <severity>Moderate</severity>
    <release>HCE 2.0</release>
    <issued date="2024-02-23 07:36:42"/>
    <updated date="2024-02-23 07:36:42"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-22195" id="CVE-2024-22195" title="CVE-2024-22195 Base Score: 6.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" type="cve"/>
    </references>
    <description>Security Fix(es):

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.
 (CVE-2024-22195)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="python-jinja2">
        <name>HCE 2.0</name>
        <package arch="noarch" name="python3-jinja2" version="3.0.3" release="1.r2.hce2">
          <filename>python3-jinja2-3.0.3-1.r2.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="python-jinja2-help" version="3.0.3" release="1.r2.hce2">
          <filename>python-jinja2-help-3.0.3-1.r2.hce2.noarch.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
