Security mailing lists by PureSourceCode

CVE-2026-28350

MEDIUM 6.1CVSS 3.1

lxml-html-clean has <base> tag injection through default Cleaner configuration

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.

Published
5 Mar 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-116
Also known as
GHSA-xvp8-3mhv-424cPYSEC-2026-2202
Sources
NVDJSONOSV GHSA-xvp8-3mhv-424cJSONOSV PYSEC-2026-2202JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fedoralovespython lxml_html_clean
cpe:2.3:a:fedoralovespython:lxml_html_clean:*:*:*:*:*:python:*:*
< 0.4.4 0.4.4
OSV PyPI lxml-html-clean < 0.4.4 0.4.4

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 5 Mar 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Mar 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.