Find a vulnerability
Search criteria
ⓘ
Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.
7 vulnerabilities found for python-lxml by azure linux
AZL-96857 (CVE-2026-49825)
Vulnerability from osv_azurelinux – Published: 2026-08-20 15:17 – Updated: 2026-11-18 05:33 – Source websitelxml is a library for processing XML and HTML in the Python language. Prior to 6.1.1, link attributes in lxml.html.defs.link_attrs were missing xlink:href, which can be used for URL bypass attacks in embedded SVG/MathML/etc. content. This vulnerability was fixed in lxml 6.1.1 and lxml_html_clean 0.4.5.
| URL | Type |
|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2026-49825 | WEB |
| Ecosystem | Package | Version |
|---|---|---|
| Azure Linux:3 |
python-lxml
pkg:rpm/azure-linux/python-lxml
|
Affected: < 4.9.3-3 (ecosystem)
|
{
"affected": [
{
"package": {
"ecosystem": "Azure Linux:3",
"name": "python-lxml",
"purl": "pkg:rpm/azure-linux/python-lxml"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.9.3-3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"details": "lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.1, link attributes in ``lxml.html.defs.link_attrs`` were missing ``xlink:href``, which can be used for URL bypass attacks in embedded SVG/MathML/etc. content. This vulnerability was fixed in lxml 6.1.1 and lxml_html_clean 0.4.5.",
"id": "AZL-96857",
"modified": "2026-11-18T05:33:41Z",
"published": "2026-08-20T15:17:30Z",
"references": [
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49825"
}
],
"schema_version": "1.7.4",
"summary": "CVE-2026-49825 affecting package python-lxml for versions less than 4.9.3-3",
"upstream": [
"CVE-2026-49825"
]
}
AZL-84038 (CVE-2026-41066)
Vulnerability from osv_azurelinux – Published: 2026-04-24 17:16 – Updated: 2026-11-18 05:33 – Source websitelxml is a library for processing XML and HTML in the Python language. Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files. Setting the resolve_entities option explicitly to resolve_entities='internal' or resolve_entities=False disables the local file access. This vulnerability is fixed in 6.1.0.
| URL | Type |
|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2026-41066 | WEB |
| Ecosystem | Package | Version |
|---|---|---|
| Azure Linux:3 |
python-lxml
pkg:rpm/azure-linux/python-lxml
|
Affected: < 4.9.3-2 (ecosystem)
|
{
"affected": [
{
"package": {
"ecosystem": "Azure Linux:3",
"name": "python-lxml",
"purl": "pkg:rpm/azure-linux/python-lxml"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.9.3-2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"details": "lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files. Setting the resolve_entities option explicitly to resolve_entities=\u0027internal\u0027 or resolve_entities=False disables the local file access. This vulnerability is fixed in 6.1.0.",
"id": "AZL-84038",
"modified": "2026-11-18T05:33:41Z",
"published": "2026-04-24T17:16:20Z",
"references": [
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41066"
}
],
"schema_version": "1.7.4",
"summary": "CVE-2026-41066 affecting package python-lxml for versions less than 4.9.3-2",
"upstream": [
"CVE-2026-41066"
]
}
AZL-10059 (CVE-2022-2309)
Vulnerability from osv_azurelinux – Published: 2022-07-05 10:15 – Updated: 2022-09-09 08:11 – Source websiteNULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused by the iterwalk function (also used by the canonicalize function). Such code shouldn't be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function. However, an XML converter that serialises to C14N would also be vulnerable, for example, and there are legitimate use cases for this code sequence. If untrusted input is received (also remotely) and processed via iterwalk function, a crash can be triggered.
| URL | Type |
|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2022-2309 | WEB |
| Ecosystem | Package | Version |
|---|---|---|
| Azure Linux:2 |
python-lxml
pkg:rpm/azure-linux/python-lxml
|
Affected: < 4.9.1-1 (ecosystem)
|
{
"affected": [
{
"package": {
"ecosystem": "Azure Linux:2",
"name": "python-lxml",
"purl": "pkg:rpm/azure-linux/python-lxml"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.9.1-1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"details": "NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused by the iterwalk function (also used by the canonicalize function). Such code shouldn\u0027t be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function. However, an XML converter that serialises to C14N would also be vulnerable, for example, and there are legitimate use cases for this code sequence. If untrusted input is received (also remotely) and processed via iterwalk function, a crash can be triggered.",
"id": "AZL-10059",
"modified": "2022-09-09T08:11:58Z",
"published": "2022-07-05T10:15:08Z",
"references": [
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2309"
}
],
"schema_version": "1.7.4",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "CVE-2022-2309 affecting package python-lxml for versions less than 4.9.1-1",
"upstream": [
"CVE-2022-2309"
]
}
AZL-7025 (CVE-2021-43818)
Vulnerability from osv_azurelinux – Published: 2021-12-13 18:15 – Updated: 2022-04-23 08:09 – Source websitelxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs. Users that employ the HTML cleaner in a security relevant context should upgrade to lxml 4.6.5 to receive a patch. There are no known workarounds available.
| URL | Type |
|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2021-43818 | WEB |
| Ecosystem | Package | Version |
|---|---|---|
| Azure Linux:2 |
python-lxml
pkg:rpm/azure-linux/python-lxml
|
Affected: < 4.8.0-1 (ecosystem)
|
{
"affected": [
{
"package": {
"ecosystem": "Azure Linux:2",
"name": "python-lxml",
"purl": "pkg:rpm/azure-linux/python-lxml"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.8.0-1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"details": "lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs. Users that employ the HTML cleaner in a security relevant context should upgrade to lxml 4.6.5 to receive a patch. There are no known workarounds available.",
"id": "AZL-7025",
"modified": "2022-04-23T08:09:23Z",
"published": "2021-12-13T18:15:08Z",
"references": [
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43818"
}
],
"schema_version": "1.7.4",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L",
"type": "CVSS_V3"
}
],
"summary": "CVE-2021-43818 affecting package python-lxml for versions less than 4.8.0-1",
"upstream": [
"CVE-2021-43818"
]
}
AZL-6808 (CVE-2021-28957)
Vulnerability from osv_azurelinux – Published: 2021-03-21 05:15 – Updated: 2022-04-23 08:09 – Source websiteAn 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.
| URL | Type |
|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2021-28957 | WEB |
| Ecosystem | Package | Version |
|---|---|---|
| Azure Linux:2 |
python-lxml
pkg:rpm/azure-linux/python-lxml
|
Affected: < 4.8.0-1 (ecosystem)
|
{
"affected": [
{
"package": {
"ecosystem": "Azure Linux:2",
"name": "python-lxml",
"purl": "pkg:rpm/azure-linux/python-lxml"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.8.0-1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"details": "An XSS vulnerability was discovered in python-lxml\u0027s 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.",
"id": "AZL-6808",
"modified": "2022-04-23T08:09:23Z",
"published": "2021-03-21T05:15:13Z",
"references": [
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28957"
}
],
"schema_version": "1.7.4",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "CVE-2021-28957 affecting package python-lxml for versions less than 4.8.0-1",
"upstream": [
"CVE-2021-28957"
]
}
AZL-6807 (CVE-2020-27783)
Vulnerability from osv_azurelinux – Published: 2020-12-03 17:15 – Updated: 2022-04-23 08:09 – Source websiteA XSS vulnerability was discovered in python-lxml's clean module. The module's parser didn't properly imitate browsers, which caused different behaviors between the sanitizer and the user's page. A remote attacker could exploit this flaw to run arbitrary HTML/JS code.
| URL | Type |
|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2020-27783 | WEB |
| Ecosystem | Package | Version |
|---|---|---|
| Azure Linux:2 |
python-lxml
pkg:rpm/azure-linux/python-lxml
|
Affected: < 4.8.0-1 (ecosystem)
|
{
"affected": [
{
"package": {
"ecosystem": "Azure Linux:2",
"name": "python-lxml",
"purl": "pkg:rpm/azure-linux/python-lxml"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.8.0-1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"details": "A XSS vulnerability was discovered in python-lxml\u0027s clean module. The module\u0027s parser didn\u0027t properly imitate browsers, which caused different behaviors between the sanitizer and the user\u0027s page. A remote attacker could exploit this flaw to run arbitrary HTML/JS code.",
"id": "AZL-6807",
"modified": "2022-04-23T08:09:23Z",
"published": "2020-12-03T17:15:13Z",
"references": [
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27783"
}
],
"schema_version": "1.7.4",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "CVE-2020-27783 affecting package python-lxml for versions less than 4.8.0-1",
"upstream": [
"CVE-2020-27783"
]
}
AZL-6806 (CVE-2018-19787)
Vulnerability from osv_azurelinux – Published: 2018-12-02 10:29 – Updated: 2022-04-23 08:09 – Source websiteAn 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.
| URL | Type |
|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2018-19787 | WEB |
| Ecosystem | Package | Version |
|---|---|---|
| Azure Linux:2 |
python-lxml
pkg:rpm/azure-linux/python-lxml
|
Affected: < 4.8.0-1 (ecosystem)
|
{
"affected": [
{
"package": {
"ecosystem": "Azure Linux:2",
"name": "python-lxml",
"purl": "pkg:rpm/azure-linux/python-lxml"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.8.0-1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"details": "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.",
"id": "AZL-6806",
"modified": "2022-04-23T08:09:23Z",
"published": "2018-12-02T10:29:00Z",
"references": [
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19787"
}
],
"schema_version": "1.7.4",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "CVE-2018-19787 affecting package python-lxml for versions less than 4.8.0-1",
"upstream": [
"CVE-2018-19787"
]
}