{"id":"CVE-2020-27783","aliases":["CVE-2020-27783","GHSA-pgww-xf46-h92r","PYSEC-2020-62"],"related":[],"kind":"vulnerability","state":"published","title":"lxml vulnerable to Cross-site Scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se detectó una vulnerabilidad de tipo XSS en el módulo de limpieza de python-lxml. El analizador del módulo no imitaba apropiadamente los navegadores, lo que causaba comportamientos diferentes entre el sanitizador y la página del usuario. Un atacante remoto podría explotar este fallo para ejecutar código HTML/JS arbitrario","source":"nvd"}],"published":"2020-12-03T16:39:41.000Z","modified":"2026-06-17T03:09:38.167Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"lxml-4.6.2","status":"affected"}],"product":"python-lxml","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.6.2"}],"ecosystem":"PyPI","package":"lxml","purl":"pkg:pypi/lxml","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.2","fixed":"4.6.2"}],"vendor":"lxml","product":"lxml","cpe":"cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"redhat","product":"software_collections","cpe":"cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"32"},{"status":"affected","version":"33"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"snapcenter","cpe":"cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.0.0.3.0"}],"vendor":"oracle","product":"communications_offline_mediation_controller","cpe":"cpe:2.3:a:oracle:communications_offline_mediation_controller:12.0.0.3.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.8"}],"vendor":"oracle","product":"zfs_storage_appliance_kit","cpe":"cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"1.2","status":"affected","fixed":"4.6.2"}],"ecosystem":"PyPI","package":"lxml","purl":"pkg:pypi/lxml","source":"pysec"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1901633","tags":["exploit","issue-tracking","patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.debian.org/security/2020/dsa-4810","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00028.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4286","tags":["advisory","exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://security.netapp.com/advisory/ntap-20210521-0003/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27783","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/lxml/lxml/commit/a105ab8dc262ec6735977c25c13f0bdfcdec72a7","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-PYTHON-LXML-1047473","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20210521-0003","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/lxml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2020-62.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/lxml/lxml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-pgww-xf46-h92r","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL/","tags":["web"],"sources":["pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK/","tags":["web"],"sources":["pysec"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-12-17T21:02:01.991Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-27783","url":"https://www.cve.org/CVERecord?id=CVE-2020-27783","licence":"CVE Terms of Use","modified":"2025-12-17T21:02:06.822Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pgww-xf46-h92r","url":"https://github.com/advisories/GHSA-pgww-xf46-h92r","licence":"CC-BY-4.0","modified":"2025-12-20T05:25:57.674Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-27783","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27783","licence":"Public domain","modified":"2026-06-17T03:09:38.167Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-62","url":"https://osv.dev/vulnerability/PYSEC-2020-62","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:22.239Z"}],"updatedAt":"2026-11-25T22:57:56.025Z","epss":{"score":0.03982,"percentile":0.90747,"date":"2026-12-01T12:00:22.000Z"}}