Skip to main content

CVE-2026-91942: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in unclecode crawl4ai

0
Medium
VulnerabilityCVE-2026-91942cvecve-2026-91942
Published: 09/15/2026 (09/15/2026, 15:18:02 UTC)
Source: CVE Database V5
Vendor/Project: unclecode
Product: crawl4ai

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.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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 software

unclecode

crawl4ai

Affected versions
>=0 <0.9.3
GitHub Actionsmore threats →ai
unclecode/crawl4ai
pkg:github/unclecode/crawl4ai
Affected versions
>=0 <0.9.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 16:02:18 UTC

Technical Analysis

CVE-2026-91942 is a DOM-based XSS vulnerability in the Docker Playground UI of crawl4ai before version 0.9.3. The vulnerability arises from improper neutralization of untrusted input assigned to element.innerHTML. Exploitation involves malicious PDFs with embedded event-handler markup that execute JavaScript in the context of the Playground origin, enabling attackers to steal API tokens from sessionStorage and abuse authenticated API access.

Potential Impact

Successful exploitation allows attackers to execute arbitrary JavaScript in the affected web application's origin, leading to theft of API tokens from sessionStorage. This can result in unauthorized API access and abuse under the victim's authenticated session. The vulnerability has a CVSS 4.0 base score of 5.1, indicating a medium severity impact with network attack vector, low attack complexity, and no privileges required.

Mitigation Recommendations

A fix is available in crawl4ai version 0.9.3 and later. Users should upgrade to version 0.9.3 or newer to remediate this vulnerability. No vendor advisory content was provided, so patch status is based on the affectedVersions data. Until patched, avoid processing untrusted PDFs in the Docker Playground UI and consider restricting access to trusted users only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-09-15T11:07:01.913Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aa9651a55bf5e2cf502eb07

Added to database: 09/15/2026, 15:32:42 UTC

Last enriched: 09/15/2026, 16:02:18 UTC

Last updated: 09/16/2026, 02:32:15 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses