Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2023-1956

Active Important

ALAS2-2023-1956 (important): python-lxml

Published
21 Feb 2023
Updated
07 Mar 2025

Related CVEs

CVE identifiers linked by this publisher.

3
Publisher relationship details 3 records
Explicit publisher CVE relationships
CVE
CVE-2014-3146
CVE-2018-19787
CVE-2021-43818

Description

Incomplete blacklist vulnerability in the lxml.html.clean module in lxml before 3.3.5 allows remote attackers to conduct cross-site scripting (XSS) attacks via control characters in the link scheme to the clean_html function. (CVE-2014-3146) An issue was discovered in lxml before 4.2.5. lxml/html/clean.py in the lxml.html.clean module does not remove

Read full publisher description 1137 characters

Incomplete blacklist vulnerability in the lxml.html.clean module in lxml before 3.3.5 allows remote attackers to conduct cross-site scripting (XSS) attacks via control characters in the link scheme to the clean_html function. (CVE-2014-3146) An issue was discovered in lxml before 4.2.5. lxml/html/clean.py in the lxml.html.clean module does not remove javascript: URLs that use escaping, allowing a remote attacker to conduct XSS attacks, as demonstrated by "j a v a s c r i p t:" in Internet Explorer. This is a similar issue to CVE-2014-3146. (CVE-2018-19787) 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)

Solution

Run yum update python-lxml or yum update --advisory ALAS2-2023-1956 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

5

Shared package data

Applies to all 5 occurrences
  1. 1python-lxml

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • python-lxml-3.2.1-4.amzn2.0.4.aarch64
    • python-lxml-debuginfo-3.2.1-4.amzn2.0.4.aarch64
  2. 2python-lxml

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • python-lxml-3.2.1-4.amzn2.0.4.i686
    • python-lxml-debuginfo-3.2.1-4.amzn2.0.4.i686
  3. 3python-lxml

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • python-lxml-docs-3.2.1-4.amzn2.0.4.noarch
  4. 4python-lxml

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • python-lxml-3.2.1-4.amzn2.0.4.src
  5. 5python-lxml

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • python-lxml-3.2.1-4.amzn2.0.4.x86_64
    • python-lxml-debuginfo-3.2.1-4.amzn2.0.4.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

6
  • CVE-2014-3146 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2014-3146
  • CVE-2018-19787 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-19787
  • CVE-2021-43818 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-43818
  • CVE-2014-3146 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3146
  • CVE-2018-19787 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19787
  • CVE-2021-43818 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43818

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2023-1956.htmlUnknown004ee205448a9084065f891ed3c4058ff656139dee11f5e57ec18dee19493145amazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-1956.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-1956.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected