CVE-2021-28957 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| lxml lxml | < 4.6.3 |
CPE
Remediation
| |
| debian debian linux | 9.0 10.0 |
CPE
Remediation
| |
| fedoraproject fedora | 33 34 |
CPE
Remediation
| |
| netapp snapcenter | All versions |
CPE
Remediation
| |
| oracle zfs storage appliance kit | 8.8 |
CPE
Remediation
| |
Change History
19 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 17, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Dec 9, 2022 | Modified Analysis | [email protected] |
| Aug 10, 2022 | CVE Modified | [email protected] |
| Dec 6, 2021 | Modified Analysis | [email protected] |
| Oct 20, 2021 | CVE Modified | [email protected] |
| Jun 4, 2021 | CVE Modified | [email protected] |
| May 28, 2021 | CVE Modified | [email protected] |
| May 21, 2021 | CVE Modified | [email protected] |
| Mar 30, 2021 | Modified Analysis | [email protected] |
| Mar 30, 2021 | CVE Modified | [email protected] |
| Mar 29, 2021 | CVE Modified | [email protected] |
| Mar 24, 2021 | CVE Modified | [email protected] |
| Mar 24, 2021 | Initial Analysis | [email protected] |
| Mar 21, 2021 | CVE Modified | [email protected] |