{"id":"OESA-2021-1068","summary":"python-lxml security update","details":"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.\r\n\r\nSecurity Fix(es):\r\n\r\nA XSS vulnerability was discovered in python-lxml's clean module. The module's parser didn't properly imitate browsers, which caused different behaviors between the sanitizer and the user's page. A remote attacker could exploit this flaw to run arbitrary HTML/JS code.(CVE-2020-27783)","modified":"2025-09-03T06:17:06.352331Z","published":"2021-03-05T11:02:40Z","upstream":["CVE-2020-27783"],"database_specific":{"severity":"Medium"},"references":[{"type":"ADVISORY","url":"https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1068"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27783"}],"affected":[{"package":{"name":"python-lxml","ecosystem":"openEuler:20.03-LTS","purl":"pkg:rpm/openEuler/python-lxml&distro=openEuler-20.03-LTS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.2-2.oe1"}]}],"ecosystem_specific":{"aarch64":["python-lxml-debugsource-4.5.2-2.oe1.aarch64.rpm","python2-lxml-4.5.2-2.oe1.aarch64.rpm","python-lxml-debuginfo-4.5.2-2.oe1.aarch64.rpm","python3-lxml-4.5.2-2.oe1.aarch64.rpm","python-lxml-debugsource-4.5.2-2.oe1.aarch64.rpm","python2-lxml-4.5.2-2.oe1.aarch64.rpm","python-lxml-debuginfo-4.5.2-2.oe1.aarch64.rpm","python3-lxml-4.5.2-2.oe1.aarch64.rpm"],"noarch":["python-lxml-help-4.5.2-2.oe1.noarch.rpm","python-lxml-help-4.5.2-2.oe1.noarch.rpm"],"x86_64":["python-lxml-debugsource-4.5.2-2.oe1.x86_64.rpm","python-lxml-debuginfo-4.5.2-2.oe1.x86_64.rpm","python3-lxml-4.5.2-2.oe1.x86_64.rpm","python2-lxml-4.5.2-2.oe1.x86_64.rpm","python-lxml-debugsource-4.5.2-2.oe1.x86_64.rpm","python-lxml-debuginfo-4.5.2-2.oe1.x86_64.rpm","python3-lxml-4.5.2-2.oe1.x86_64.rpm","python2-lxml-4.5.2-2.oe1.x86_64.rpm"],"src":["python-lxml-4.5.2-2.oe1.src.rpm","python-lxml-4.5.2-2.oe1.src.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2021-1068.json"}},{"package":{"name":"python-lxml","ecosystem":"openEuler:20.03-LTS-SP1","purl":"pkg:rpm/openEuler/python-lxml&distro=openEuler-20.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.2-2.oe1"}]}],"ecosystem_specific":{"aarch64":["python-lxml-debugsource-4.5.2-2.oe1.aarch64.rpm","python2-lxml-4.5.2-2.oe1.aarch64.rpm","python-lxml-debuginfo-4.5.2-2.oe1.aarch64.rpm","python3-lxml-4.5.2-2.oe1.aarch64.rpm"],"noarch":["python-lxml-help-4.5.2-2.oe1.noarch.rpm"],"x86_64":["python-lxml-debugsource-4.5.2-2.oe1.x86_64.rpm","python-lxml-debuginfo-4.5.2-2.oe1.x86_64.rpm","python3-lxml-4.5.2-2.oe1.x86_64.rpm","python2-lxml-4.5.2-2.oe1.x86_64.rpm"],"src":["python-lxml-4.5.2-2.oe1.src.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2021-1068.json"}}],"schema_version":"1.7.3"}