原始 OSV JSON{
"id": "GHSA-pgww-xf46-h92r",
"aliases": [
"CVE-2020-27783"
],
"details": "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.",
"summary": "lxml vulnerable to Cross-site Scripting",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.6.2"
}
]
}
],
"package": {
"name": "lxml",
"ecosystem": "PyPI"
}
}
],
"modified": "2025-12-20T05:10:35Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "CVSS_V4",
"score": "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"
}
],
"published": "2021-01-07T21:54:01Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27783",
"type": "ADVISORY"
},
{
"url": "https://github.com/lxml/lxml/commit/a105ab8dc262ec6735977c25c13f0bdfcdec72a7",
"type": "WEB"
},
{
"url": "https://www.oracle.com//security-alerts/cpujul2021.html",
"type": "WEB"
},
{
"url": "https://www.debian.org/security/2020/dsa-4810",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-PYTHON-LXML-1047473",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20210521-0003",
"type": "WEB"
},
{
"url": "https://pypi.org/project/lxml",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected] /message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected] /message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2020/12/msg00028.html",
"type": "WEB"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2020-62.yaml",
"type": "WEB"
},
{
"url": "https://github.com/lxml/lxml",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-pgww-xf46-h92r",
"type": "ADVISORY"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1901633",
"type": "WEB"
},
{
"url": "https://advisory.checkmarx.net/advisory/CX-2020-4286",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2020-12-03T17:15:00Z",
"github_reviewed_at": "2021-01-07T21:53:43Z"
}
}