QID 354466

Date Published: 2022-12-21

QID 354466: Amazon Linux Security Advisory for python-lxml : ALAS2022-2022-074

There's a flaw in python-lxml's html cleaner component, which is responsible for sanitizing html and javascript.
An attacker who is able to submit a crafted payload to a web service using python-lxml's html cleaner may be able to trigger script execution in clients such as web browsers.
This can occur because the html cleaner did not remove scripts within svg images in data urls such as <img src=>.
Xss can result in impacts to the integrity and availability of the web page, as well as a potential impact to data confidentiality in some circumstances. (
( CVE-2021-43818)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.1 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2022-2022-074 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354466

    Software Advisories
    Advisory ID Software Component Link
    ALAS2022-2022-074 amazon linux 2022 URL Logo alas.aws.amazon.com/AL2022/ALAS-2022-074.html