CVE-2026-91942: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in unclecode crawl4ai
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.
AI Analysis
Technical Summary
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.
CVE-2026-91942: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in unclecode 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
Affected software
unclecode
crawl4ai
pkg:github/unclecode/crawl4aiRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.