AZL-6808

    Dashboard / Vulnerabilities / AZL-6808

    AZL-6808

    Published: 21 Mar 2021Last Modified: 21 Apr 2026
    Upstream:

    Summary: CVE-2021-28957 affecting package python-lxml for versions less than 4.8.0-1

    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. This issue is patched in lxml 4.6.3.

    Affected packages

    Package

    Name: python-lxml

    Purl: pkg:rpm/azure-linux/python-lxml

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.8.0-1

    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
    AZL-6808 | CVE-DB