Cyber Resilience

CVE-2026-28350

Fedoralovespython Lxml Html Clean ≤ 0.4.4

Public PoC
Published
05 March 2026
Modified
09 March 2026
Patch / advisory
CVSS Score v3.1 6.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.0025 17th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2026-28350 is a medium-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Fedoralovespython Lxml Html Clean. Its CVSS base score is 6.1 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Drive-by Compromise (T1189); ranked at the 17th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SI-3 (Malicious Code Protection) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

an attacker to inject it and hijack relative links on the page. This issue has been patched in version 0.4.4.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
Why these techniques?

Base tag sanitization bypass directly enables injection to hijack relative URLs (scripts/resources), facilitating drive-by compromise on affected pages.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-28348Same product: Fedoralovespython Lxml Html Clean
CVE-2024-52595Same product: Fedoralovespython Lxml Html Clean
CVE-2025-6429Shared CWE-116
CVE-2026-24127Shared CWE-116
CVE-2025-1308Shared CWE-116
CVE-2023-42183Shared CWE-116
CVE-2026-45570Shared CWE-116
CVE-2024-6329Shared CWE-116
CVE-2022-42948Shared CWE-116
CVE-2026-34481Shared CWE-116

Affected Assets

fedoralovespython
lxml html clean
≤ 0.4.4

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • SI-7 Software, Firmware, and Information Integrity
  • SI-3 Malicious Code Protection
Detect
Catch it (NIST detect / respond)
  • SI-7 Software, Firmware, and Information Integrity
Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.1.2
  • V1.2.1
  • V1.2.3

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation and sanitization of HTML input to reject or neutralize dangerous elements such as an unsanitized <base> tag.

preventdetect

Requires integrity verification of processed HTML output, which would detect or block pages altered by an injected <base> tag.

prevent

Mandates malicious-code inspection and filtering mechanisms that can be configured to strip or block unsafe HTML constructs like <base>.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require proper output encoding to prevent injection and message malformation.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.

detects

Security testing can detect missing or incorrect encoding but does not itself implement the control.

prevents

Secure development life cycle mandates output encoding/escaping practices that directly prevent improper encoding.

prevents

Application security requirements include explicit rules for safe output handling and encoding.

prevents

Secure architecture principles reduce the likelihood of missing encoding but do not prescribe the actual technique.

References