lxml, lxml-html-clean — security advisory
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.
- Products
- lxml, lxml-html-clean
- Affected versions
- 0.4.2-1, 0.4.3-1, 0.4.4-1, 0.4.4-1~deb13u1, 0.4.5-1, 4.9.2-1, 5.4.0-1, 6.0.1-1, 6.0.2-1, 6.1.0-1, 6.1.3-1, 6.1.3-1.1, 7.0.0~a2-1, 7.0.0~b1-1
- Fixed versions
- 0.4.5-1, 4.9.2-1+deb12u1, 6.1.3-1
- CVEs
- CVE-2026-49825
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:52 UTC · Revision 2
Source evidence
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.
osv:DEBIAN-CVE-2026-49825
lxml
Fixed versions: 4.9.2-1+deb12u1
lxml
Fixed versions: Not specified
lxml
Fixed versions: 6.1.3-1
lxml-html-clean
Fixed versions: Not specified
lxml-html-clean
Fixed versions: 0.4.5-1
Complete source record
{
"id": "f9f4fbf73f9840556b7d0d322c0ac5bc03126f841bb338ebf6fabe290142453c",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-49825",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-49825",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-49825",
"products": [
{
"name": {
"value": "lxml",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.9.2-1+deb12u1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "4.9.2-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "lxml",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.4.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.0.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.0.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.1.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.1.3-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.1.3-1.1",
"evidence": "/affected/1/versions"
},
{
"value": "7.0.0~a2-1",
"evidence": "/affected/1/versions"
},
{
"value": "7.0.0~b1-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "lxml",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.3-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "5.4.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "6.0.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "6.0.2-1",
"evidence": "/affected/2/versions"
},
{
"value": "6.1.0-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "lxml-html-clean",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.4.2-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.4.3-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.4.4-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.4.4-1~deb13u1",
"evidence": "/affected/3/versions"
},
{
"value": "0.4.5-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "lxml-html-clean",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.4.5-1",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": [
{
"value": "0.4.2-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.4.3-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.4.4-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.4.4-1~deb13u1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-49825",
"aliases": [
"DEBIAN-CVE-2026-49825"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.9.2-1+deb12u1"
}
]
}
],
"package": {
"name": "lxml",
"purl": "pkg:deb/debian/lxml?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"4.9.2-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49825.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lxml",
"purl": "pkg:deb/debian/lxml?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"5.4.0-1",
"6.0.1-1",
"6.0.2-1",
"6.1.0-1",
"6.1.3-1",
"6.1.3-1.1",
"7.0.0~a2-1",
"7.0.0~b1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49825.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.1.3-1"
}
]
}
],
"package": {
"name": "lxml",
"purl": "pkg:deb/debian/lxml?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"5.4.0-1",
"6.0.1-1",
"6.0.2-1",
"6.1.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49825.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lxml-html-clean",
"purl": "pkg:deb/debian/lxml-html-clean?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"0.4.2-1",
"0.4.3-1",
"0.4.4-1",
"0.4.4-1~deb13u1",
"0.4.5-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49825.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.4.5-1"
}
]
}
],
"package": {
"name": "lxml-html-clean",
"purl": "pkg:deb/debian/lxml-html-clean?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"0.4.2-1",
"0.4.3-1",
"0.4.4-1",
"0.4.4-1~deb13u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49825.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-27T10:01:43.693504861Z",
"provider": "osv",
"upstream": [
"CVE-2026-49825"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-49825"
]
},
"related_cves": [
{
"value": "CVE-2026-49825",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461398,
"published_at": "2026-08-20T15:17:30.707+00:00"
}