{"id":"CVE-2026-28350","published":"2026-03-05T19:49:55Z","modified":"2026-03-06T17:05:13Z","title":"lxml_html_clean: <base> tag injection through default Cleaner configuration","vendor":"fedora-python","product":"lxml_html_clean","tier":"tail","description":{"text":"lxml_html_clean is a project for HTML cleaning functionalities copied from `lxml.html.clean`. Prior to version 0.4.4, the <base> tag passes through the default Cleaner configuration. While page_structure=True removes html, head, and title tags, there is no specific handling for <base>, allowing an attacker to inject it and hijack relative links on the page. This issue has been patched in version 0.4.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00323,"percentile":0.17849,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-xvp8-3mhv-424c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fedora-python/lxml_html_clean/commit/9c5612ca33b941eec4178abf8a5294b103403f34","tags":["x_refsource_MISC"]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":3.57},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"fedora-python","affectedVersions":[{"vendor":"fedora-python","product":"lxml_html_clean","versions":["< 0.4.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-06T17:05:07.014572Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lxml-html-clean","vulnerableRanges":["<0.4.4"],"patched":["0.4.4"],"from":["GHSA-xvp8-3mhv-424c","PYSEC-2026-2202"],"provenance":"source"}],"summary":{"text":"The lxml_html_clean project, a copy of HTML cleaning functionality from lxml.html.clean, has a flaw in which the default Cleaner configuration lets the <base> tag pass through, since page_structure=True removes html, head, and title tags but has no specific handling for <base>. An attacker who can get markup into cleaned output, with user interaction required and no authentication, can inject a <base> tag that hijacks the relative links on the page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:48Z"},"euvd":{"id":"EUVD-2026-20098","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-fedora-python-lxml-html-clean-cve-2024-52595","parents":[{"from":"CVE-2024-52595","to":"CVE-2026-28350","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:lxml-html-clean","fromFixed":"0.4.0","toFixed":"0.4.4","daysApart":471},{"kind":"same-code","provenance":"machine","files":["lxml_html_clean/clean.py"],"commits":["https://github.com/fedora-python/lxml_html_clean/commit/c5d816f86eb3707d72a8ecf5f3823e0daa1b3808","https://github.com/fedora-python/lxml_html_clean/commit/9c5612ca33b941eec4178abf8a5294b103403f34"],"basis":"rarely changed file"}]},{"from":"CVE-2026-28348","to":"CVE-2026-28350","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lxml_html_clean/clean.py"],"commits":["https://github.com/fedora-python/lxml_html_clean/commit/2ef732667ddbc74ea59847bcf24b75809aaeed3b","https://github.com/fedora-python/lxml_html_clean/commit/9c5612ca33b941eec4178abf8a5294b103403f34"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2024-52595","published":"2024-11-19","fixed":"0.4.0","kev":false},{"cve":"CVE-2026-28348","published":"2026-03-05","fixed":"0.4.4","kev":false},{"cve":"CVE-2026-28350","published":"2026-03-05","fixed":"0.4.4","kev":false}],"package":"PyPI:lxml-html-clean"}}