Security mailing lists by PureSourceCode

CVE-2020-27783

MEDIUM 6.1CVSS 3.1

lxml vulnerable to Cross-site Scripting

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.

Published
3 Dec 2020
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-pgww-xf46-h92rPYSEC-2020-62
Sources
NVDJSONOSV GHSA-pgww-xf46-h92rJSONOSV PYSEC-2020-62JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD lxml lxml
cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:*
>= 1.2, < 4.6.2 4.6.2
NVD redhat software_collections
cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*
(no version)
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD netapp snapcenter
cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*
(no version)
NVD oracle communications_offline_mediation_controller
cpe:2.3:a:oracle:communications_offline_mediation_controller:12.0.0.3.0:*:*:*:*:*:*:*
= 12.0.0.3.0
NVD oracle zfs_storage_appliance_kit
cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*
= 8.8
OSV PyPI lxml < 4.6.2 4.6.2
OSV PyPI lxml >= 1.2, < 4.6.2 4.6.2

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 3 Dec 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Dec 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jan 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.