{"id":"CVE-2026-28350","summary":"lxml_html_clean: \u003cbase\u003e tag injection through default Cleaner configuration","details":"lxml_html_clean is a project for HTML cleaning functionalities copied from `lxml.html.clean`. Prior to version 0.4.4, the \u003cbase\u003e tag passes through the default Cleaner configuration. While page_structure=True removes html, head, and title tags, there is no specific handling for \u003cbase\u003e, allowing an attacker to inject it and hijack relative links on the page. This issue has been patched in version 0.4.4.","aliases":["GHSA-xvp8-3mhv-424c","PYSEC-2026-2202"],"modified":"2026-08-12T03:51:38.994510589Z","published":"2026-03-05T19:49:55.662Z","related":["CGA-vxr7-634f-rmvj","openSUSE-SU-2026:10322-1","openSUSE-SU-2026:20345-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28350.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-116"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28350.json"},{"type":"ADVISORY","url":"https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-xvp8-3mhv-424c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28350"},{"type":"FIX","url":"https://github.com/fedora-python/lxml_html_clean/commit/9c5612ca33b941eec4178abf8a5294b103403f34"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fedora-python/lxml_html_clean","events":[{"introduced":"0"},{"fixed":"fd10d79cf8a4d4a962e139aee6d02dec02b2de7c"},{"fixed":"9c5612ca33b941eec4178abf8a5294b103403f34"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:fedoralovespython:lxml_html_clean:*:*:*:*:*:python:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.4.4"}]}}],"versions":["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"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28350.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:L/I:L/A:N"}]}