JavaScript injection in Crawl4AI via css_selector and wait_for
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-95.
Summary
Crawl4AI from 0.9.0 before 0.9.5 contains a JavaScript injection flaw in its Docker API server (CWE-95). Authenticated API clients can run arbitrary JavaScript in the crawl page through the allowlisted css_selector and wait_for fields. An attacker injects quotes into css_selector or supplies js: conditions in wait_for, which bypasses the js_code block and alters page state and returned crawl content. The CVSS 4.0 vector rates the attack as network-reachable with low privileges and no user interaction, with a low integrity impact.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade unclecode crawl4ai to 0.9.5, the fixed version listed for the affected range.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
- Fix · CNA crawl4ai (unclecode) Fixed in 0.9.5
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
unclecode crawl4ai 0.9.5
5 records Highest priority Priority HIGH 4 HIGH, 1 LOW
Other records, highest priority first
- TI-2026-82637 Denial of service in Crawl4AI via unbounded CrawlerRunConfig delay fieldsPriority HIGH 77
- TI-2026-82640 Blind SSRF in Crawl4AI Docker server via CacheValidator freshness checkPriority HIGH 70
- TI-2026-82638 Untrusted model loading in Crawl4AI via CosineStrategy model_namePriority HIGH 69
Timeline
- 2026-10-29 Threatist record created from CVE-2026-119121
- 2026-10-29 CISA SSVC decision points changed
- 2026-10-29 Alias added: GHSA-6fxw-998x-jq4q
References
More unclecode vulnerabilities
- TI-2026-38760 Crawl4AI: AST Sandbox Escape via gi_frame.f_back Chain - Pre-Auth RCE in Docker API CVSS 3.1CRITICAL 10.0
- TI-2026-40630 Crawl4AI - Authentication Bypass via Hardcoded JWT Signing Key CVSS 4.0CRITICAL 9.3
- TI-2026-82637 Denial of service in Crawl4AI via unbounded CrawlerRunConfig delay fields CVSS 4.0HIGH 8.7
- TI-2026-62075 crawl4ai before 0.9.3 Arbitrary File Write via PDFContentScrapingStrategy CVSS 4.0HIGH 8.7
- TI-2026-82640 Blind SSRF in Crawl4AI Docker server via CacheValidator freshness check CVSS 4.0MEDIUM 6.9
- TI-2026-82638 Untrusted model loading in Crawl4AI via CosineStrategy model_name CVSS 4.0HIGH 7.7
Sources
- CVE-2026-119121 · CVE Program
- CVE-2026-119121 · NVD
- FIRST EPSS
- GHSA-6fxw-998x-jq4q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences