lxml
Affected
- introduced
0, fixed4.6.5(ecosystem)
Fixed versions
4.6.5
Fix
- Fixed version
4.6.5pip install --upgrade lxml==4.6.5
Advisory
Also known as: CVE-2021-43818, PYSEC-2021-852
lxml's HTML Cleaner allows crafted and SVG embedded scripts to pass through
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.
Medium Basis: The source's own band: MODERATE
0, fixed 4.6.5 (ecosystem)4.6.5
4.6.5pip install --upgrade lxml==4.6.5Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0