Advisory

PYSEC-2018-12

Also known as: CVE-2018-19787, GHSA-xp26-p53h-6h2p

Summary

The record has no summary.

Details

An issue was discovered in lxml before 4.2.5. lxml/html/clean.py in the lxml.html.clean module does not remove javascript: URLs that use escaping, allowing a remote attacker to conduct XSS attacks, as demonstrated by "j a v a s c r i p t:" in Internet Explorer. This is a similar issue to CVE-2014-3146.

Severity

Not rated by the source.

Dates

Published
2018-12-02 10:29 UTC
Modified
2023-11-08 04:00 UTC

Affected packages and fixes

lxml

PyPI · All systems

Affected

  • introduced 0, fixed 4.2.5 (ecosystem)

Fixed versions

4.2.5

Fix

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

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