QID 354846

Date Published: 2023-03-23

QID 354846: Amazon Linux Security Advisory for python-lxml : ALAS-2023-1709

A cross-site scripting (xss) vulnerability was found in the python-lxml's clean module.
The module's parser did not properly imitate browsers, causing different behaviors between the sanitizer and the user's page.
This flaw allows a remote attacker to run arbitrary html/js code.
The highest threat from this vulnerability is to confidentiality and integrity. (
( CVE-2020-27783) 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: ALAS-2023-1709 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354846

    Software Advisories
    Advisory ID Software Component Link
    ALAS-2023-1709 amazon linux URL Logo alas.aws.amazon.com/ALAS-2023-1709.html
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report