~ / search / GHSA-55x5-fj6c-h6m8

GHSA-55x5-fj6c-h6m8

lxml's HTML Cleaner allows crafted and SVG embedded scripts to pass through

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-43818

Packages

EcosystemPackageAffectedFixed in
PyPI lxml < 4.6.5 4.6.5

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact The HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs. Users that employ the HTML cleaner in a security relevant context should upgrade to lxml 4.6.5. ### Patches The issue has been resolved in lxml 4.6.5. ### Workarounds None. ### References The issues are tracked under the report IDs GHSL-2021-1037 and GHSL-2021-1038.

References

External links from the advisory. They lead to third-party sites.