ADVISORIES

GitHub Advisory Database

GHSA-pgww-xf46-h92r

lxml vulnerable to Cross-site Scripting

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
All versions before 4.6.2 (fixed in 4.6.2)

References