CVE-2026-91942 crawl4ai before 0.9.3 Cross-Site Scripting via innerHTML
Attackers can execute JavaScript in the Docker Playground UI via malicious PDFs to steal API tokens and abuse authenticated APIs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-91942?
CVE-2026-91942 is a medium-severity cross-site scripting vulnerability in unclecode crawl4ai, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2026-91942?
How do I fix CVE-2026-91942?
No fix has been published for CVE-2026-91942 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-91942 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-91942 exists.
Sources
Also known as GHSA-7g3g-vhm6-79f3, GHSA-xjmx-xxmr-qf54.