lxml
Affected
- introduced
0, fixed4.6.3(ecosystem)
Fixed versions
4.6.3
Fix
- Fixed version
4.6.3pip install --upgrade lxml==4.6.3
Advisory
Also known as: CVE-2021-28957, PYSEC-2021-19
lxml vulnerable to Cross-Site Scripting
An XSS vulnerability was discovered in the python lxml clean module versions before 4.6.3. When disabling the safe_attrs_only and forms arguments, the Cleaner class does not remove the formaction attribute allowing for JS to bypass the sanitizer. A remote attacker could exploit this flaw to run arbitrary JS code on users who interact with incorrectly sanitized HTML. This issue is patched in lxml 4.6.3.
Medium Basis: The source's own band: MODERATE
0, fixed 4.6.3 (ecosystem)4.6.3
4.6.3pip install --upgrade lxml==4.6.3Fix 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