GHSA-pgww-xf46-h92r

lxml vulnerable to Cross-site Scripting

At a glance

Published
Updated
CVE
CVE-2020-27783
Aliases
PYSEC-2020-62
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS_V4
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

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.

Affected packages

PackageVersions
PyPI · lxmlintroduced 0, fixed 4.6.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database