Skip to content
OpenAdvisories
Medium RHSA-2021:4158 1 CVE

Red Hat Security Advisory: python-lxml security update

Published Sep 13, 2024 · Updated Jun 28, 2026

Fixed packages 4

ReleasePackageFixed in
Red Hat · RHEL 8 enterprise_linux:8::appstream python-lxml 0:4.2.3-3.el8
Red Hat · RHEL 8 enterprise_linux:8::appstream python-lxml-debugsource 0:4.2.3-3.el8
Red Hat · RHEL 8 enterprise_linux:8::appstream python3-lxml 0:4.2.3-3.el8
Red Hat · RHEL 8 enterprise_linux:8::appstream python3-lxml-debuginfo 0:4.2.3-3.el8

Vulnerabilities 1

  • Medium 6.1

    lxml vulnerable to Cross-Site Scripting

    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 attac…

References

  • article
    https://access.redhat.com/security/updates/classification/#moderate
  • article
    https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.5_release_notes/
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1941534
  • advisory
    https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4158.json
  • report
    https://access.redhat.com/security/cve/CVE-2021-28957
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2021-28957
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2021-28957