CVE catalog

CVE-2024-34078

UBUNTU-

[CVE catalog]

html-sanitizer is an allowlist-based HTML cleaner. If using `keep_typographic_whitespace=False` (which is the default), the sanitizer normalizes unicode to the NFKC form at the end. Some unicode characters normalize to chevrons; this allows specially crafted HTML to escape sanitization. The problem has been fixed in 2.4.2.

Severity
Unknown
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.56% · Oct 27, 2026

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
Debian11python-html-sanitizer1.9.1-2+deb11u1Fixed[DEBIAN-CVE-2024-34078][DLA-3856-1]

Showing 1 fix observations. All 5 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debian11python-html-sanitizer1.9.1-2Affected[DEBIAN-CVE-2024-34078][DLA-3856-1]
Debian11python-html-sanitizer1.9.1-2+deb11u1Fixed[DEBIAN-CVE-2024-34078][DLA-3856-1]
Ubuntu22.04python-html-sanitizer1.9.1-2Affected[UBUNTU-CVE-2024-34078]
Ubuntu22.04python-html-sanitizer1.9.3-1Affected[UBUNTU-CVE-2024-34078]
Ubuntu24.04python-html-sanitizer2.2-1Affected[UBUNTU-CVE-2024-34078]
Original provider fields
{
  "package_releases": [],
  "fixed_versions": [],
  "distribution_packages": [
    {
      "name": "python-html-sanitizer",
      "distro": "debian",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.9.1-2+deb11u1"
            }
          ]
        }
      ],
      "release": "11",
      "versions": [
        "1.9.1-2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/DEBIAN-CVE-2024-34078",
      "fixed_version": "1.9.1-2+deb11u1",
      "provider_source": "pypi",
      "provider_record_id": "DEBIAN-CVE-2024-34078",
      "provider_updated_at": "2026-08-27T23:05:04.482352495Z"
    },
    {
      "name": "python-html-sanitizer",
      "distro": "debian",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.9.1-2+deb11u1"
            }
          ]
        }
      ],
      "release": "11",
      "versions": [
        "1.9.1-2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/DLA-3856-1",
      "fixed_version": "1.9.1-2+deb11u1",
      "provider_source": "pypi",
      "provider_record_id": "DLA-3856-1",
      "provider_updated_at": "2026-03-09T01:22:51.157007Z"
    },
    {
      "name": "python-html-sanitizer",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "1.9.1-2",
        "1.9.3-1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-34078",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2024-34078",
      "provider_updated_at": "2025-09-08T17:00:23Z"
    },
    {
      "name": "python-html-sanitizer",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "2.2-1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-34078",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2024-34078",
      "provider_updated_at": "2025-09-08T17:00:23Z"
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

Observed:

References