MGASA-2021-0246

    Dashboard / Vulnerabilities / MGASA-2021-0246

    MGASA-2021-0246

    Published: 13 Jun 2021Last Modified: 16 Apr 2026
    Upstream:

    Summary: Updated python-lxml packages fix a security vulnerability

    Details: 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 (CVE-2021-28957).

    Affected packages

    Package

    Name: python-lxml

    Purl: pkg:rpm/mageia/python-lxml?arch=source&distro=mageia-7

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.3.0-1.3.mga7

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    MGASA-2021-0246 | CVE-DB