Read the docs

JavaScript injection in Crawl4AI via css_selector and wait_for

Priority LOW 24CWE-95Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00286 21st percentileScored 2026-11-07
Fix Fixed crawl4ai (unclecode): 0.9.5

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

VendorProductAffected versionsFixed inStatusSource
unclecodecrawl4ai0.9.0 to before 0.9.50.9.5Patch availableCNA
  • crawl4ai Vendorunclecode Affected 0.9.0 to before 0.9.5 Fixed in 0.9.5 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:kidocode:crawl4ai:*:*:*:*:*:*:*:*——unclecode
  • cpe:2.3:a:kidocode:crawl4ai:*:*:*:*:*:*:*:* Versions — — ·unclecode

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

  1. 2026-10-29 Threatist record created from CVE-2026-119121
  2. 2026-10-29 CISA SSVC decision points changed
  3. 2026-10-29 Alias added: GHSA-6fxw-998x-jq4q

References

  • 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
See all 32 →

Sources