CVE-2021-28957
An XSS vulnerability was discovered in python-lxml's 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.
- Affected products
- Alt Linux, Almalinux, Astra Linux, Centos, Linuxmint, Red Hat, Rocky Linux, Suse
- Lxml
- < 4.6.3
- Fix
- Available
- CVSS 3.1
- 6.1 MEDIUM
- EPSS
- 4.0% (90th percentile)
- Weakness
- CWE-79
- NVD status
- Modified
- Published
- 2021-03-21
CVE-2021-28957 at NVD
No indexed exploits for CVE-2021-28957 yet
Our index is partial: it proves presence, never absence
No exploit for CVE-2021-28957 has been indexed yet. Our index is built from live traffic and upstream syncs, so this page can only say what it knows — not that no exploit exists.