PT-2026-22701

CVE-2026-28350

·

Published

2026-02-27

·

Updated

2026-03-26

Description by

CVSS 2.0
6.4
Medium
MetricsAV:N/AC:L/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions lxml html clean versions prior to 0.4.4
Description The software does not properly handle the <base> tag during HTML cleaning. Specifically, the <base> tag is not removed even when page structure=True, which removes html, head, and title tags. This allows an attacker to inject a <base> tag and hijack relative links on the page. Injecting a <base> tag changes the base URL for all relative URLs on the page, including links, images, and scripts, to a domain controlled by the attacker. This can lead to phishing, redirection of form submissions, cross-site scripting (XSS), and defacement of the webpage. The API endpoint is not mentioned. The vulnerable parameter is not mentioned. The vulnerable function is not mentioned.
Recommendations Update to lxml html clean version 0.4.4 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-XVP8-3MHV-424C
OPENSUSE-SU-2026:10322-1
OPENSUSE-SU-2026:20345-1
PYSEC-2026-2202
Found an issue in the description? Have something to add? Feel free to write us 👾