Advisory

PYSEC-2020-62

Also known as: CVE-2020-27783, GHSA-pgww-xf46-h92r

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2020-12-03 17:15 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

lxml

PyPI · All systems

Affected

  • introduced 1.2, fixed 4.6.2 (ecosystem)

Fixed versions

4.6.2

Fix

  • Fixed version 4.6.2
    pip install --upgrade lxml==4.6.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences