6.1Medium

CVE-2026-91944crawl4ai before 0.9.3 DOM-based XSS via Playground UI

unclecode crawl4ai Published: (2 months ago)

Description

crawl4ai versions before 0.9.3 contain a DOM-based cross-site scripting vulnerability in the Playground UI where the forceHighlightElement() function assigns textContent back to innerHTML, re-parsing JSON responses as HTML. Attackers can inject malicious scripts through crawled page content like the page title to steal the operator's API token from sessionStorage and gain full server control.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
unclecode crawl4ai < 0.9.3, fixed 0.9.3

References and patches