{"id":"MGASA-2021-0246","summary":"Updated python-lxml packages fix a security vulnerability","details":"An XSS vulnerability was discovered in python-lxml’s clean module \nversions before 4.6.3. When disabling the safe_attrs_only and forms \narguments, the Cleaner class does not remove the formaction attribute \nallowing for JS to bypass the sanitizer. A remote attacker could exploit this \nflaw to run arbitrary JS code on users who interact with incorrectly \nsanitized HTML (CVE-2021-28957).\n","modified":"2026-02-01T15:40:40.069940Z","published":"2021-06-13T21:32:39Z","related":["CVE-2021-28957"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2021-0246.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=28983"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/3C2R44VDUY7FJVMAVRZ2WY7XYL4SVN45/"},{"type":"REPORT","url":"https://www.debian.org/security/2021/dsa-4880"},{"type":"REPORT","url":"https://ubuntu.com/security/notices/USN-4896-1"}],"affected":[{"package":{"name":"python-lxml","ecosystem":"Mageia:7","purl":"pkg:rpm/mageia/python-lxml?arch=source&distro=mageia-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0-1.3.mga7"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2021-0246.json"}},{"package":{"name":"python-lxml","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/python-lxml?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.3-1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2021-0246.json"}}],"schema_version":"1.7.3","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}