GitHub Advisoryadvisory · PyPI
GHSA-pgww-xf46-h92r lxml vulnerable to Cross-site Scripting
MEDIUM
Official page ↗
- Aliases
- CVE-2020-27783
- Ecosystem
- PyPI
- Packages
- lxml
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2021-01-07
Affected packages
• PyPI lxml: < 4.6.2 → fixed in 4.6.2
Description
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.
Related
Alias · CVE (1)
- CVE-2020-27783 A XSS vulnerability was discovered in python-lxml's clean module. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-27783 advisory
- https://github.com/lxml/lxml/commit/a105ab8dc262ec6735977c25c13f0bdfcdec72a7 web
- https://www.oracle.com//security-alerts/cpujul2021.html web
- https://www.debian.org/security/2020/dsa-4810 web
- https://snyk.io/vuln/SNYK-PYTHON-LXML-1047473 web
- https://security.netapp.com/advisory/ntap-20210521-0003 web
- https://pypi.org/project/lxml web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL web
- https://lists.debian.org/debian-lts-announce/2020/12/msg00028.html web
- https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2020-62.yaml web
- https://github.com/lxml/lxml web
- https://github.com/advisories/GHSA-pgww-xf46-h92r advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1901633 web
- https://advisory.checkmarx.net/advisory/CX-2020-4286 web