Skip to content
Heist/ feed
Back to feed
Medium

crawl4ai before 0.9.3 Cross-Site Scripting via innerHTML

Type: advisorySources: OSV

crawl4ai before 0.9.3 contains a DOM-based cross-site scripting vulnerability in the Docker Playground UI that assigns untrusted crawl results to element.innerHTML. Attackers can craft malicious PDFs with event-handler markup to execute JavaScript in the Playground origin and steal API tokens from sessionStorage for authenticated API abuse.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-91942
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:00 UTC · Revision 1

Source evidence

crawl4ai before 0.9.3 Cross-Site Scripting via innerHTML

core-osv · Original source

Published 15 Sept 2026, 15:18 UTC

crawl4ai before 0.9.3 contains a DOM-based cross-site scripting vulnerability in the Docker Playground UI that assigns untrusted crawl results to element.innerHTML. Attackers can craft malicious PDFs with event-handler markup to execute JavaScript in the Playground origin and steal API tokens from sessionStorage for authenticated API abuse.

osv:CVE-2026-91942
Complete source record
{
  "id": "b9724e9f5dd4fb770b093316661113b4deb577e2ad27613c121e69a3556e5fea",
  "url": "https://osv.dev/vulnerability/CVE-2026-91942",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "crawl4ai before 0.9.3 Cross-Site Scripting via innerHTML",
    "summary": "crawl4ai before 0.9.3 contains a DOM-based cross-site scripting vulnerability in the Docker Playground UI that assigns untrusted crawl results to element.innerHTML. Attackers can craft malicious PDFs with event-handler markup to execute JavaScript in the Playground origin and steal API tokens from sessionStorage for authenticated API abuse.",
    "evidence": "osv:CVE-2026-91942",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-91942",
      "aliases": [
        "CVE-2026-91942",
        "GHSA-7g3g-vhm6-79f3"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/unclecode/crawl4ai",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4bcd5fa8a56000ce103dd499e8ecdff2439f3e9c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.9.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "4ai"
                      },
                      {
                        "fixed": "0.9.3"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.9.2",
            "docker-rebuild-v0.9.2",
            "v0.9.1",
            "docker-rebuild-v0.9.1",
            "v0.9.0",
            "docker-rebuild-v0.9.0",
            "v0.8.9",
            "docker-rebuild-v0.8.9",
            "v0.8.8",
            "docker-rebuild-v0.8.8",
            "v0.8.7",
            "docker-rebuild-v0.8.7",
            "docker-rebuild-v0.8.6",
            "v0.8.6",
            "v0.7.4",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "vr0.6.3",
            "v0.6.3",
            "vr0.6.0",
            "vr0.6.0rc1",
            "v0.5.0.post1",
            "v0.4.243",
            "v0.4.24",
            "v0.3.745",
            "v.3.72",
            "v0.3.6",
            "0.3.4",
            "v0.3.3",
            "v0.3.0",
            "v0.2.77",
            "v0.0.75",
            "v0.2.74",
            "v0.2.73",
            "v0.2.72",
            "v0.2.71",
            "v0.2.7",
            "v0.2.6",
            "v0.2.4",
            "v0.2.1",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-91942.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.872940557Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91942.json",
        "https://github.com/unclecode/crawl4ai/security/advisories/GHSA-7g3g-vhm6-79f3",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-91942",
        "https://www.vulncheck.com/advisories/crawl4ai-before-0.9.3-cross-site-scripting-via-innerhtml"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91942.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-91942",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504421,
  "published_at": "2026-09-15T15:18:02.423+00:00"
}