---
id: CVE-2026-91942
title: >-
  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
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 …
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: unclecode
product: crawl4ai
affected:
  - crawl4ai < 0.9.3
published: '2026-09-15'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T15:16:57.450'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-91942'
references:
  - url: >-
      https://github.com/unclecode/crawl4ai/security/advisories/GHSA-7g3g-vhm6-79f3
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/crawl4ai-before-0.9.3-cross-site-scripting-via-innerhtml
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/unclecode/crawl4ai/security/advisories/GHSA-7g3g-vhm6-79f3
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-17T14:51:30.420052Z'
epss: 0.00237
epssPercentile: 0.13147
ingestedAt: '2026-09-15T15:39:12.922Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
