CVE-2026-91944
Received Received - Intake

DOM-based XSS in crawl4ai Playground UI via forceHighlightElement()

Vulnerability report for CVE-2026-91944, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-15

Last updated on: 2026-09-15

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-15
Last Modified
2026-09-15
Generated
2026-09-15
AI Q&A
2026-09-15
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
unclecode crawl4ai to 0.9.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a DOM-based cross-site scripting (XSS) vulnerability in crawl4ai versions before 0.9.3. The Playground UI's forceHighlightElement() function incorrectly uses textContent assignment to innerHTML, causing JSON responses to be re-parsed as HTML. Attackers can inject malicious scripts via crawled page content like page titles to steal the operator's API token from sessionStorage and gain full server control.

Detection Guidance

This vulnerability is specific to crawl4ai versions before 0.9.3 and involves DOM-based XSS in the Playground UI. To detect it, check the installed version of crawl4ai using 'pip show crawl4ai' or 'pip list'. If the version is below 0.9.3, the system is vulnerable. Inspect network traffic for unusual API token exfiltration attempts or unexpected script executions in the Playground UI.

Impact Analysis

An attacker could exploit this to steal your API token, allowing them to gain full control over the server. This could lead to unauthorized data access, modification, or deletion, and potentially compromise sensitive information processed by the application.

Compliance Impact

This vulnerability could lead to unauthorized access to personal or sensitive data, violating GDPR and HIPAA requirements for data protection and confidentiality. Organizations may face legal penalties, reputational damage, and loss of compliance certifications if exploited.

Mitigation Strategies

Immediately upgrade crawl4ai to version 0.9.3 or later using 'pip install --upgrade crawl4ai'. If upgrading is not possible, disable the Playground UI feature or restrict access to trusted users only. Monitor sessionStorage and API token usage for suspicious activity. Consider implementing a Content Security Policy (CSP) to mitigate XSS risks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-91944. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart