Skip to main content

Crawl4AI CVE-2026-119121

| EUVDEUVD-2026-113188 MEDIUM
Eval Injection (CWE-95)
2026-10-29 VulnCheck GHSA-6fxw-998x-jq4q
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Docker API with valid token
  2. Exploit
    Submit css_selector with quote or wait_for js: payload
  3. Execution
    Payload reaches page.evaluate() sink
  4. Impact
    Arbitrary JS runs in crawl page, altering returned content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid API token to a Crawl4AI Docker API server running an affected version (0.9.0-0.9.4), even under default settings - this is the deployment mode gate, since the library used directly is not affected unless an application itself feeds untrusted input into css_selector or wait_for. The attacker must submit a crawler_config CrawlerRunConfig whose css_selector contains a double-quote (which closes the interpolated string literal) or whose wait_for value begins with 'js:' (or has no css:/known prefix, which falls back to JavaScript). Limiting factors that reduce real-world risk: authentication is required (PR:L, valid token); the injected JavaScript is confined to the Chromium browser sandbox and the origin of the crawled URL, with no access to the server process, filesystem, or environment; and the server's pinning egress proxy blocks in-page fetch() to internal, private, and cloud-metadata addresses.

Impact

This is a moderate-severity authorization-boundary bypass, not a server compromise, and the signals are internally consistent at the lower end. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) scores 5.3 and shows only integrity impact to the vulnerable system (VI:L) with VC:N/VA:N and all subsequent-system metrics N, matching the advisory's statement that injected code stays inside the Chromium browser sandbox and cannot reach the server process, filesystem, or environment. PR:L confirms an authenticated API client is required, so this is an authenticated issue, and the vuln.today Decision label is 'this_month' rather than act_now or emergency. A proof-of-concept is published in the GHSA advisory (working curl commands for both the css_selector and wait_for vectors), but there is no CISA KEV listing and no EPSS score in the input, so there is no evidence of active exploitation and no modeled exploitation probability to weigh. The 'RCE' tag overstates the real impact: the advisory explicitly scopes this to in-browser JavaScript with an egress proxy that blocks internal, private, and cloud-metadata addresses, so it is not remote code execution on the host. Net priority: real but low-to-moderate - a privilege/policy bypass that lets an authenticated-but-untrusted caller alter crawled page content, worth patching on a normal cycle rather than as an emergency.

Exploit ScenarioDerived

An authenticated but untrusted client of a Crawl4AI Docker API server (0.9.0-0.9.4) submits a crawler_config whose css_selector contains a double-quote, or whose wait_for value is prefixed with 'js:'. Both fields are on the untrusted allowlist but reach page.evaluate(), so the attacker's JavaScript runs in the Chromium crawl page, bypassing the server's js_code block to alter page state and the content returned to the caller. Working proof-of-concept curl commands for both vectors are published in the GHSA advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 29, 2026

Crawl4AI's Docker API server in versions 0.9.0 through 0.9.4 lets any client holding a valid API token run arbitrary JavaScript inside the Chromium page the server uses for crawling, by smuggling script through two fields that the untrusted-input allowlist still permits: a css_selector containing a double quote, which closes the interpolated string literal before page.evaluate(), and a wait_for value beginning with 'js:' (or an unprefixed value that falls back to JavaScript). This defeats the js_code block introduced in 0.9.0 and allows the caller to alter page state and the crawl content returned from the origin of any URL it asks the server to fetch. Impact is integrity-only (CVSS 5.3, PR:L, I:L): the script remains inside the browser sandbox with no reach into the server process, filesystem or environment, and the server's pinning egress proxy blocks in-page fetch() to internal, private and cloud-metadata addresses; the vendor advisory publishes reproduction requests for both paths and the issue is fixed in 0.9.5.

RemediationAI

Vendor-released patch: 0.9.5 - upgrade the crawl4ai package and rebuild or repull the Docker image, since 0.9.5 both passes css_selector as an argument instead of script text and refuses js:-, ()- or function-prefixed wait_for values from untrusted bodies. If upgrading immediately is not possible, the vendor's compensating control is to reject at the reverse proxy any crawler_config request body whose css_selector contains a double quote or whose wait_for value is not prefixed with css:, which restores the intended boundary at the cost of breaking legitimate quoted selectors such as p[title="x"] and any legitimate JavaScript wait conditions your trusted clients rely on. Additionally, issue API tokens only to trusted clients and keep the /execute_js endpoint disabled (it is off by default), since the proxy rule and token scoping both become moot for any caller who legitimately holds an execution primitive. No public exploit package beyond the advisory's reproduction requests is identified, and no CISA KEV listing or active-exploitation reporting is associated with this CVE.

Affected VersionsENISA

Crawl4AI 0.9.0 <0.9.5

Affected Packages

euvd crawl4ai fix: 0.9.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Crawl4AI is a Python web-crawling library that drives Chromium through Playwright, and the Docker API server wraps it with a policy that untrusted request bodies may not supply page JavaScript - js_code, js_code_before_wait and c4a_script are all blocked. The root cause is CWE-95 (eval injection) combined with a field-name-only authorization check: UNTRUSTED_FIELD_ALLOWLIST["CrawlerRunConfig"] in crawl4ai/async_configs.py validates which keys are present but not their contents. In AsyncPlaywrightCrawlerStrategy._crawl_web() (crawl4ai/async_crawler_strategy.py) each comma-separated part of css_selector is interpolated into an f-string of the form Array.from(document.querySelectorAll("{selector"))... and then evaluated, so an embedded double quote terminates the string literal and the remainder executes as page script. Separately, AsyncPlaywrightCrawlerStrategy.smart_wait() executes any wait_for value starting with js: as a JavaScript function by design, and additionally falls back to JavaScript execution for values without a recognized prefix. The 0.9.5 fix passes css_selector to the page as an argument rather than as script text (which also repairs legitimate quoted selectors such as p[title="x"]), and for untrusted bodies refuses wait_for values starting with js:, () or function while treating every other value as a css: selector that never degrades into JavaScript.

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Authenticated API client (PR:L) over the network with low complexity; impact limited to integrity of returned crawl content (I:L), sandboxed with no confidentiality/availability impact and no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Oct 29, 2026 - 17:18 EUVD

DescriptionCVE.org

Crawl4AI from 0.9.0 before 0.9.5 contains a JavaScript injection vulnerability in the Docker API server that allows authenticated API clients to run arbitrary JavaScript in the crawl page via allowlisted css_selector and wait_for fields. Attackers can inject quotes into css_selector or supply js: conditions in wait_for, bypassing the js_code block to alter page state and returned crawl content.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
open-source LLM-focused crawler; Docker API server has limited production footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-26216 CRITICAL POC
10.0 Feb 12

Remote code execution in Crawl4AI Docker API before 0.8.0 via hooks parameter. The /crawl endpoint accepts Python code i

CVE-2026-56265 CRITICAL POC
9.3 Jun 21

Authentication bypass in Crawl4AI Docker API server (versions prior to 0.8.7) allows remote unauthenticated attackers to

CVE-2026-26217 CRITICAL POC
9.2 Feb 12

Arbitrary local file disclosure in Crawl4AI's Docker API (versions before 0.8.0) lets unauthenticated remote attackers r

CVE-2026-57573 HIGH POC
8.6 Jul 06

Server-side request forgery in Crawl4AI's Docker API server (versions prior to 0.9.0) lets a remote unauthenticated clie

CVE-2026-57572 CRITICAL
10.0 Jul 06

Remote code execution in Crawl4AI's Docker API server (versions prior to 0.9.0) lets unauthenticated attackers run arbit

CVE-2026-57571 CRITICAL
9.6 Jul 06

Arbitrary file write in Crawl4AI (the open-source LLM-friendly web crawler by unclecode) before version 0.9.0 lets a mal

CVE-2026-56258 CRITICAL
9.2 Jun 23

Arbitrary file write in Crawl4AI Docker API server before 0.8.8 lets unauthenticated remote attackers escape the ALLOWED

CVE-2026-56264 CRITICAL
9.2 Jun 30

Arbitrary JavaScript execution in Crawl4AI's Docker API server (versions before 0.8.7) lets remote attackers submit code

CVE-2026-56261 CRITICAL
9.2 Jul 10

Server-side request forgery in Crawl4AI's Docker API server (versions before 0.8.7) allows remote unauthenticated attack

CVE-2026-109238 CRITICAL
9.2 Oct 12

Server-side request forgery in Crawl4AI (unclecode) versions 0.7.0 through 0.9.3 lets unauthenticated, remote API client

CVE-2026-56266 CRITICAL
9.2 Jun 22

Server-side request forgery in Crawl4AI before 0.8.7 allows unauthenticated remote attackers to coerce the server into f

CVE-2025-28197 CRITICAL
9.1 Apr 18

Crawl4AI <=0.4.247 is vulnerable to SSRF in /crawl4ai/async_dispatcher.py. Rated critical severity (CVSS 9.1), this vuln

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy