ADVISORIES

PyPA Advisory Database

PYSEC-2020-62

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.

Affected packages

EcosystemPackageAffected versions
PyPIlxml
From 1.2 before 4.6.2 (fixed in 4.6.2)

References