CVE catalog

CVE-2026-28350

lxml_html_clean is a project for HTML cleaning…

[CVE catalog]

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.

Severity
Medium · CVSS 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixielxml5.2.0-1FixedDistribution-reported fixed boundary[CVE-2026-28350]
Debiantrixielxml5.4.0-1Fixed[CVE-2026-28350]
Debiansidlxml5.2.0-1FixedDistribution-reported fixed boundary[CVE-2026-28350]
Debiansidlxml6.1.3-1.1Fixed[CVE-2026-28350]
Debianforkylxml5.2.0-1FixedDistribution-reported fixed boundary[CVE-2026-28350]
Debianforkylxml6.1.3-1Fixed[CVE-2026-28350]
Debianbookworm-securitylxml4.9.2-1+deb12u1Fixed[CVE-2026-28350]
Debianbookwormlxml4.9.2-1+deb12u1FixedDistribution-reported fixed boundary[CVE-2026-28350]

Showing 8 fix observations. All 11 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedlxmlNot reportedUnknownSource applicability is not establishedProvider not reported
PipRelease not reportedlxml-html-clean0.4.4UnknownSource applicability is not establishedProvider not reported
Debianbookwormlxml4.9.2-1Affected[CVE-2026-28350]
Debianbookwormlxml4.9.2-1+deb12u1FixedDistribution-reported fixed boundary[CVE-2026-28350]
Debianbookworm-securitylxml4.9.2-1+deb12u1Fixed[CVE-2026-28350]
Debianforkylxml5.2.0-1FixedDistribution-reported fixed boundary[CVE-2026-28350]
Debianforkylxml6.1.3-1Fixed[CVE-2026-28350]
Debiansidlxml5.2.0-1FixedDistribution-reported fixed boundary[CVE-2026-28350]
Debiansidlxml6.1.3-1.1Fixed[CVE-2026-28350]
Debiantrixielxml5.2.0-1FixedDistribution-reported fixed boundary[CVE-2026-28350]
Debiantrixielxml5.4.0-1Fixed[CVE-2026-28350]
Original provider fields
{
  "package_releases": [
    {
      "name": "lxml",
      "status": "fixed",
      "release": "sid",
      "version": "6.1.3-1.1"
    },
    {
      "name": "lxml",
      "status": "fixed",
      "release": "forky",
      "version": "6.1.3-1"
    },
    {
      "name": "lxml",
      "status": "fixed",
      "release": "trixie",
      "version": "5.4.0-1"
    },
    {
      "name": "lxml",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "4.9.2-1"
    },
    {
      "name": "lxml",
      "status": "fixed",
      "release": "bookworm-security",
      "version": "4.9.2-1+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "lxml",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "5.2.0-1"
    },
    {
      "bug": null,
      "name": "lxml",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "5.2.0-1"
    },
    {
      "bug": null,
      "name": "lxml",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "5.2.0-1"
    },
    {
      "bug": null,
      "name": "lxml",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "4.9.2-1+deb12u1"
    }
  ],
  "distribution_packages": [
    {
      "name": "lxml-html-clean",
      "ecosystem": "pip",
      "fixed_version": "0.4.4",
      "applicability_unknown": true
    },
    {
      "name": "lxml",
      "fixed_version": "not yet fixed",
      "applicability_unknown": true
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [python3-lxml]Unknown

    Source package: [lxml]

    Details (2)
    • 4.9.2-1+b1 · amd64 · bookworm

      Affected · Fixed: 4.9.2-1+deb12u1

      nvd · lxml · debian · bookworm; nvd · lxml · debian · 12

    • 4.9.2-1+b1 · arm64 · bookworm

      Affected · Fixed: 4.9.2-1+deb12u1

      nvd · lxml · debian · bookworm; nvd · lxml · debian · 12

  • Source package: [lxml]

    Details (2)
    • 4.9.2-1 · all · bookworm

      Affected · Fixed: 4.9.2-1+deb12u1

      nvd · lxml · debian · bookworm; nvd · lxml · debian · 12

    • 4.9.2-1 · all · bookworm

      Affected · Fixed: 4.9.2-1+deb12u1

      nvd · lxml · debian · bookworm; nvd · lxml · debian · 12

[Debian 13 (Trixie)]

  • [python3-lxml]Unknown

    Source package: [lxml]

    Details (2)
    • 5.4.0-1 · amd64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · lxml · debian · 13

    • 5.4.0-1 · arm64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · lxml · debian · 13

  • Source package: [lxml-html-clean]

    Details (2)
    • 0.4.4-1~deb13u1 · all · trixie

      Fixed · Fixed: 0.4.4-1~deb13u1

      nvd · lxml-html-clean · debian · 13

    • 0.4.4-1~deb13u1 · all · trixie

      Fixed · Fixed: 0.4.4-1~deb13u1

      nvd · lxml-html-clean · debian · 13

  • Source package: [lxml]

    Details (2)
    • 5.4.0-1 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · lxml · debian · 13

    • 5.4.0-1 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · lxml · debian · 13

Observed:

References