A 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.
advisory.checkmarx.net/advisory/CX-2020-4286
bugzilla.redhat.com/show_bug.cgi?id=1901633
github.com/lxml/lxml
github.com/lxml/lxml/commit/a105ab8dc262ec6735977c25c13f0bdfcdec72a7
lists.debian.org/debian-lts-announce/2020/12/msg00028.html
lists.fedoraproject.org/archives/list/[email protected]/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL
lists.fedoraproject.org/archives/list/[email protected]/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK
nvd.nist.gov/vuln/detail/CVE-2020-27783
pypi.org/project/lxml
security.netapp.com/advisory/ntap-20210521-0003
snyk.io/vuln/SNYK-PYTHON-LXML-1047473
www.debian.org/security/2020/dsa-4810
www.oracle.com//security-alerts/cpujul2021.html