{"id":"CVE-2026-49825","summary":"lxml: javascript: URL bypass in Cleaner via xlink:href","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.","aliases":["GHSA-4jhm-jv67-739f","PYSEC-2026-2614"],"modified":"2026-09-10T11:26:39.385007729Z","published":"2026-08-20T14:42:30.748Z","related":["ALSA-2026:66203","ALSA-2026:66204","openSUSE-SU-2026:11147-1","openSUSE-SU-2026:11191-1"],"database_specific":{"cwe_ids":["CWE-184","CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49825.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5"},{"type":"WEB","url":"https://github.com/lxml/lxml/releases/tag/lxml-6.1.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49825.json"},{"type":"ADVISORY","url":"https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49825"},{"type":"FIX","url":"https://github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2"},{"type":"FIX","url":"https://github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fedora-python/lxml_html_clean","events":[{"introduced":"0"},{"fixed":"322357ac61c6cf80fcbaba53b4e92e31f3ded9f2"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.4.5"}]}},{"type":"GIT","repo":"https://github.com/lxml/lxml","events":[{"introduced":"0"},{"fixed":"5927a6d5e851845140975d99b65461e255caaab0"},{"fixed":"b4a4c595fb875d6f50ae113449834209a364643a"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"6.1.1"}]}}],"versions":["0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","0.3.1","0.3.0","0.2.2","0.2.1","0.2.0","0.1.1","0.1.0","lxml-6.1.0","lxml-6.0.4","lxml-6.0.3","lxml-6.0.2","lxml-6.0.1","lxml-6.0.0","lxml-5.3.0","lxml-5.2.1","lxml-5.2.0","lxml-5.1.1","lxml-5.1.0-2","lxml-5.1.0-1","lxml-5.1.0","lxml-5.0.0","lxml-4.9.2","lxml-5.0a0","lxml-4.9.1","lxml-4.9.0","lxml-4.8.0","lxml-4.7.1","lxml-4.7.0","lxml-4.7.0-pre","lxml-4.6.3","lxml-4.6.2","lxml-4.6.1","lxml-4.6.0","lxml-4.5.2","lxml-4.5.1","lxml-4.5.0","lxml-4.4.1","lxml-4.4.0","lxml-4.3.2","lxml-4.3.1","lxml-4.3.0","lxml-4.2.2","lxml-4.2.1","lxml-4.2.0","lxml-4.1.1","lxml-4.1.0","lxml-4.0.0","lxml-3.8.0-py27fix","lxml-3.8.0","lxml-3.7.2","lxml-3.7.1","lxml-3.7.0","lxml-3.6.1","lxml-3.6.0","lxml-3.5.0","lxml-3.5.0b1","lxml-3.4.1","lxml-3.4.0","lxml-3.4.0beta1","lxml-3.3.3","lxml-3.3.2","lxml-3.3.1","lxml-3.3.0","lxml-3.3.0beta5","lxml-3.3.0beta4","lxml-3.3.0beta3","lxml-3.3.0beta2","lxml-3.3.0beta1","lxml-3.2.3","lxml-3.2.2","lxml-3.2.1","lxml-3.2.0","lxml-3.1.1","lxml-3.1.0","lxml-3.1beta1","lxml-3.0.1","lxml-3.0","lxml-3.0beta1","lxml-3.0alpha2","lxml-3.0alpha1","lxml-2.3.1","lxml-2.3","lxml-2.3beta1","lxml-2.3alpha2","lxml-2.3alpha1","lxml-2.2.2","lxml-2.2.1","lxml-2.2","lxml-2.1","lxml-2.1beta3","lxml-2.1beta2","lxml-2.1beta1","lxml-2.1alpha1","lxml-2.0.1","lxml-2.0","lxml-2.0beta2","lxml-2.0beta1","lxml-2.0alpha6","lxml-2.0alpha5","lxml-2.0alpha4","lxml-2.0alpha3","lxml-2.0alpha2","lxml-2.0alpha1","lxml-1.2","lxml-1.1","lxml-1.1beta","lxml-1.1alpha","lxml-1.0","lxml-1.0.beta","lxml-0.9","lxml-0.7","lxml-0.6","lxml-0.5.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49825.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"}]}