{"id":"CVE-2026-49825","state":"PUBLISHED","title":"lxml: javascript: URL bypass in Cleaner via xlink:href","description":"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.","publishedAt":"2026-08-20T14:42:30.748Z","updatedAt":"2026-08-21T16:41:54.849Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["lxml lxml","fedora-python lxml_html_clean"],"affected":[{"vendor":"lxml","product":"lxml","versions":[{"version":"< 6.1.1","status":"affected"}]},{"vendor":"fedora-python","product":"lxml_html_clean","versions":[{"version":"< 0.4.5","status":"affected"}]}],"references":["https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f","https://github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2","https://github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0","https://github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5","https://github.com/lxml/lxml/releases/tag/lxml-6.1.1"],"weaknesses":["CWE-79","CWE-184"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49825.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49825","state":"PUBLISHED","datePublished":"2026-08-20T14:42:30.748Z","dateUpdated":"2026-08-21T16:41:54.849Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-01T18:50:36.055Z"},"containers":{"cna":{"title":"lxml: javascript: URL bypass in Cleaner via xlink:href","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"lxml","product":"lxml","versions":[{"version":"< 6.1.1","status":"affected"}]},{"vendor":"fedora-python","product":"lxml_html_clean","versions":[{"version":"< 0.4.5","status":"affected"}]}],"references":[{"url":"https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f","name":"https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2","name":"https://github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2","tags":["x_refsource_MISC"]},{"url":"https://github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0","name":"https://github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0","tags":["x_refsource_MISC"]},{"url":"https://github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5","name":"https://github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/lxml/lxml/releases/tag/lxml-6.1.1","name":"https://github.com/lxml/lxml/releases/tag/lxml-6.1.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-184","lang":"en","description":"CWE-184: Incomplete List of Disallowed Inputs","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-20T14:42:30.748Z"},"source":{"advisory":"GHSA-4jhm-jv67-739f","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-21T16:41:32.043801Z","id":"CVE-2026-49825","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-21T16:41:54.849Z"}}]}}}