Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted URL to unauthenticated crawl API
-
DeliveryServer persists unsanitized HTML in monitor store
-
ExploitOperator loads monitor dashboard
-
ExecutionBrowser executes injected payload
-
ImpactAttacker exfiltrates session token or issues authenticated API requests
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The Crawl4AI Docker API server must be deployed and reachable by the attacker - this is a non-default but supported deployment mode. The monitor dashboard must be accessible; in versions before 0.8.7 this is further enabled by the co-disclosed CWE-306 auth bypass, which removed the token requirement from the entire monitor router. Exploitation requires passive operator interaction (UI:P): an operator must open the dashboard after the malicious crawl record is stored. What limits exploitation is the mandatory UI interaction step - the payload does not execute autonomously and requires a human to load the dashboard page - as well as the requirement that the attacker can reach the API submission endpoint, which should not be internet-exposed in a hardened deployment. There are no special crawl configurations, feature flags, or non-default settings required beyond deploying the standard Docker API server. |
| Impact | The CVSS 4.0 score of 5.3 with vector AV:N/AC:L/AT:N/PR:N/UI:P accurately captures the core trade-off: trivial, unauthenticated network exploitation offset by mandatory operator interaction and limited impact scope. In isolated assessment this appears moderate, but the broader advisory context elevates real-world risk considerably - the co-disclosed CWE-306 authentication bypass (CVSS 6.5) rendered the monitor dashboard accessible without any credentials in unpatched deployments, effectively removing the PR:N caveat that an attacker needs only API access, not dashboard access. EPSS data is not provided, and no KEV listing or POC code exists at time of analysis. The practical attack surface is constrained to deployments that expose the Docker API server to untrusted networks, which is a non-default but documented deployment pattern. The XSS payload's reach is bounded to the operator's browser session - enough to steal authentication tokens or pivot to other vulnerabilities in the same advisory (e.g., the CWE-94 arbitrary JS execution endpoint), but not a standalone high-severity issue in isolation. |
| Exploit ScenarioDerived | An attacker with network access to the Crawl4AI Docker API submits a POST request to the crawl endpoint with a URL value containing an HTML payload such as an img onerror handler or script tag. The server stores this unsanitized string and surfaces it in the monitor dashboard; when an operator opens the dashboard to review job status, the payload executes in their browser, allowing the attacker to exfiltrate the operator's session token or interact with other authenticated API endpoints on the operator's behalf. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 23, 2026
Stored XSS in Crawl4AI's monitor dashboard (versions before 0.8.7) enables an unauthenticated remote attacker to inject persistent malicious markup by submitting a crafted crawl URL or triggering a crafted error message; the payload executes in any operator's browser that subsequently views the dashboard. This flaw is one of six vulnerabilities disclosed together in GHSA-365w-hqf6-vxfg, and its impact is materially amplified in unpatched deployments by a co-disclosed authentication bypass (CWE-306) that left all monitor endpoints, including the dashboard, accessible without credentials. No public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade to Crawl4AI 0.8.7 or later via pip install --upgrade crawl4ai; this is the vendor-released patch confirmed by both the GHSA advisory and pip package metadata. Version 0.8.7 applies server-side html.escape() to URL and error message data before storage, and wraps all client-side innerHTML template injections with an escapeHtml() sanitization function. As a compensating control prior to patching, restrict network access to the Docker API server so only trusted operators can reach it - this limits the attacker's ability to submit crafted crawl requests and also mitigates several co-disclosed vulnerabilities (SSRF, arbitrary file write). Disabling or firewall-blocking the monitor dashboard endpoint entirely prevents the XSS rendering surface while leaving core crawl functionality intact, though this prevents legitimate monitoring use. Full advisory details are at https://github.com/unclecode/crawl4ai/security/advisories/GHSA-365w-hqf6-vxfg and VulnCheck advisory at https://www.vulncheck.com/advisories/crawl4ai-stored-cross-site-scripting-in-monitor-dashboard.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Crawl4AI (cpe:2.3:a:crawl4ai:crawl4ai:*:*:*:*:*:*:*:*) is an open-source Python-based web-crawling framework distributed via pip and typically deployed as a Docker API server. The monitor dashboard is a browser-rendered UI that displays crawl job metadata - including the submitted URL and any associated error messages - by injecting these values directly into the DOM via innerHTML without HTML-escaping. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: attacker-controlled string data flows from the crawl submission endpoint into persistent server-side storage and is later reflected into DOM-manipulation calls without sanitization. The GHSA advisory confirms the dual fix required: server-side html.escape() applied at storage time, and a client-side escapeHtml() wrapper applied at every innerHTML template injection site.
Know when Crawl4ai gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Network-accessible, no-auth crawl submission stores payload; scope changes to operator browser on dashboard load; no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Crawl4AI before 0.8.7 contains a stored cross-site scripting vulnerability in the monitor dashboard that renders crawl URLs and error messages via innerHTML without escaping. An attacker can submit a crafted crawl request with malicious markup that executes in an operator's browser when viewing the dashboard.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Remote code execution in Crawl4AI Docker API before 0.8.0 via hooks parameter. The /crawl endpoint accepts Python code i
Authentication bypass in Crawl4AI Docker API server (versions prior to 0.8.7) allows remote unauthenticated attackers to
Arbitrary local file disclosure in Crawl4AI's Docker API (versions before 0.8.0) lets unauthenticated remote attackers r
Server-side request forgery in Crawl4AI's Docker API server (versions prior to 0.9.0) lets a remote unauthenticated clie
Remote code execution in Crawl4AI's Docker API server (versions prior to 0.9.0) lets unauthenticated attackers run arbit
Arbitrary file write in Crawl4AI (the open-source LLM-friendly web crawler by unclecode) before version 0.9.0 lets a mal
Arbitrary file write in Crawl4AI Docker API server before 0.8.8 lets unauthenticated remote attackers escape the ALLOWED
Arbitrary JavaScript execution in Crawl4AI's Docker API server (versions before 0.8.7) lets remote attackers submit code
Server-side request forgery in Crawl4AI's Docker API server (versions before 0.8.7) allows remote unauthenticated attack
Server-side request forgery in Crawl4AI (unclecode) versions 0.7.0 through 0.9.3 lets unauthenticated, remote API client
Server-side request forgery in Crawl4AI before 0.8.7 allows unauthenticated remote attackers to coerce the server into f
Crawl4AI <=0.4.247 is vulnerable to SSRF in /crawl4ai/async_dispatcher.py. Rated critical severity (CVSS 9.1), this vuln
EUVD-2026-38433
GHSA-53rg-46cm-4g2v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB