نسخههای متأثر
Ubuntu16.04:LTS/lxml
- نسخههای متأثر
- <3.5.0-1ubuntu0.4
- نسخهٔ اصلاحشده
- 3.5.0-1ubuntu0.4
Ubuntu18.04:LTS/lxml
- نسخههای متأثر
- <4.2.1-1ubuntu0.4
- نسخهٔ اصلاحشده
- 4.2.1-1ubuntu0.4
Ubuntu20.04:LTS/lxml
- نسخههای متأثر
- <4.5.0-1ubuntu0.3
- نسخهٔ اصلاحشده
- 4.5.0-1ubuntu0.3
UbuntuPro:14.04:LTS/lxml
- نسخههای متأثر
- <3.3.3-1ubuntu0.2+esm3
- نسخهٔ اصلاحشده
- 3.3.3-1ubuntu0.2+esm3
شرح آسیبپذیری
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.
پیوندها
- https://bugs.launchpad.net/lxml/+bug/1888153
- https://github.com/lxml/lxml/pull/316
- https://github.com/lxml/lxml/pull/316/commits/10ec1b4e9f93713513a3264ed6158af22492f270
- https://lists.debian.org/debian-lts-announce/2021/03/msg00031.html
- https://ubuntu.com/security/CVE-2021-28957
- https://ubuntu.com/security/notices/USN-4896-1
- https://ubuntu.com/security/notices/USN-4896-2
- https://www.cve.org/CVERecord?id=CVE-2021-28957

