PYSEC-2020-62

At a glance

Published
Updated
CVE
CVE-2020-27783
Aliases
GHSA-pgww-xf46-h92r

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 1.2, fixed 4.6.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database