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 (CVE-2021-28957).
- https://bugs.mageia.org/show_bug.cgi?id=28983
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/3C2R44VDUY7FJVMAVRZ2WY7XYL4SVN45/
- https://lists.debian.org/debian-security-announce/2021/msg00061.html
- https://ubuntu.com/security/notices/USN-4896-1
- https://www.cve.org/CVERecord?id=CVE-2021-28957
- 8/core/python-lxml-4.6.3-1.mga8
- 7/core/python-lxml-4.3.0-1.3.mga7
Get the latest Linux and open source security news straight to your inbox.