Skip to content
Heist/ feed
Back to feed
High

lol-html panics on certain HTML inputs

Type: advisorySources: OSV

lol-html can cause panics on certain HTML inputs. Anyone processing arbitrary 3rd party HTML with the library is affected.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-4241
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:40 UTC · Revision 1

Source evidence

lol-html panics on certain HTML inputs

core-osv · Original source

Published 16 Aug 2023, 10:13 UTC

lol-html can cause panics on certain HTML inputs. Anyone processing arbitrary 3rd party HTML with the library is affected.

osv:CVE-2023-4241
Complete source record
{
  "id": "b4f00a4ba6a05e0c5bc1a81a1aab7dfff53697cc089e90c5e4ed63c1053d3cb3",
  "url": "https://osv.dev/vulnerability/CVE-2023-4241",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "lol-html panics on certain HTML inputs",
    "summary": "lol-html can cause panics on certain HTML inputs. Anyone processing arbitrary 3rd party HTML with the library is affected.",
    "evidence": "osv:CVE-2023-4241",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-4241",
      "aliases": [
        "CVE-2023-4241",
        "GHSA-c3x7-354f-4p2x"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cloudflare/lol-html",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7967765ff8db27000845ba0a0a9a025ac908a043"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.1.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "ChangesAt"
                  },
                  {
                    "cpe": "cpe:2.3:a:cloudflare:lol-html:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.1.0",
            "v1.0.1",
            "v1.0.0",
            "v0.4.0",
            "v0.3.3",
            "v0.3.1",
            "v0.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4241.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.179807856Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4241.json",
        "https://github.com/cloudflare/lol-html/security/advisories/GHSA-c3x7-354f-4p2x",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-4241"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "cloudflare",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4241.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-4241",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504193,
  "published_at": "2023-08-16T10:13:12.564+00:00"
}