An update for python-lxml is now available for openEuler-20.03-LTS-SP1 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2021-1178 Final 1.0 1.0 2021-05-06 Initial 2021-05-06 2021-05-06 openEuler SA Tool V1.0 2021-05-06 python-lxml security update An update for python-lxml is now available for openEuler-20.03-LTS-SP1. The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt. It is unique in that it combines the speed and XML feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API. The latest release works with all CPython versions from 2.7 to 3.7. Security Fix(es): An XSS vulnerability was discovered in python-lxml's clean module versions before 4.6.3. When disabling the safe_attrs_only and forms arguments, the Cleaner class does not remove the formaction attribute allowing for JS to bypass the sanitizer. A remote attacker could exploit this flaw to run arbitrary JS code on users who interact with incorrectly sanitized HTML. This issue is patched in lxml 4.6.3.(CVE-2021-28957) An update for python-lxml is now available for openEuler-20.03-LTS-SP1. openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. Medium python-lxml https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1178 https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-28957 https://nvd.nist.gov/vuln/detail/CVE-2021-28957 openEuler-20.03-LTS-SP1 python-lxml-debugsource-4.5.2-3.oe1.aarch64.rpm python2-lxml-4.5.2-3.oe1.aarch64.rpm python-lxml-debuginfo-4.5.2-3.oe1.aarch64.rpm python3-lxml-4.5.2-3.oe1.aarch64.rpm python-lxml-help-4.5.2-3.oe1.noarch.rpm python-lxml-4.5.2-3.oe1.src.rpm python3-lxml-4.5.2-3.oe1.x86_64.rpm python2-lxml-4.5.2-3.oe1.x86_64.rpm python-lxml-debugsource-4.5.2-3.oe1.x86_64.rpm python-lxml-debuginfo-4.5.2-3.oe1.x86_64.rpm An XSS vulnerability was discovered in python-lxml's clean module versions before 4.6.3. When disabling the safe_attrs_only and forms arguments, the Cleaner class does not remove the formaction attribute allowing for JS to bypass the sanitizer. A remote attacker could exploit this flaw to run arbitrary JS code on users who interact with incorrectly sanitized HTML. This issue is patched in lxml 4.6.3. 2021-05-06 CVE-2021-28957 openEuler-20.03-LTS-SP1 Medium 6.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N python-lxml security update 2021-05-06 https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1178