CVE-2020-27783: lxml vulnerable to Cross-site Scripting
(updated )
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.
References
- advisory.checkmarx.net/advisory/CX-2020-4286
- bugzilla.redhat.com/show_bug.cgi?id=1901633
- github.com/advisories/GHSA-pgww-xf46-h92r
- github.com/lxml/lxml
- github.com/lxml/lxml/commit/a105ab8dc262ec6735977c25c13f0bdfcdec72a7
- github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2020-62.yaml
- lists.debian.org/debian-lts-announce/2020/12/msg00028.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/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
Code Behaviors & Features
Detect and mitigate CVE-2020-27783 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →