CVE-2026-119121

Crawl4AI 0.9.0 before 0.9.5 JavaScript Injection via css_selector and wait_for

Published Oct 29, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Crawl4AI versions 0.9.0 through 0.9.4 contain a flaw that allows injected JavaScript to run inside the crawler's page rendering process. By inserting quotation marks into the css_selector field or supplying JavaScript prefixed expressions in the wait_for field, an attacker who has authenticated API credentials can bypass the expected js_code block and modify the state of the page or the data returned by the crawl. This manipulation compromises the integrity of the crawl output and can reveal confidential material accessed by the crawler.

Affected Systems

The vulnerability is present in the Crawl4AI product from Unclecode. Any installation using the 0.9.0, 0.9.1, 0.9.2, 0.9.3, or 0.9.4 releases is compromised; the issue was fixed in 0.9.5 and later.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and the EPSS score is not available. Because the vulnerability is not listed in the CISA KEV catalog, there is currently no evidence of widespread exploitation. The likely attack vector is authenticated API calls, meaning that any credential holder can trigger the flaw. Once exploited, the attacker can execute arbitrary JavaScript within the crawl page and alter the data accurately crawled, undermining data integrity and potentially exposing sensitive content that the crawler fetches.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Crawl4AI to 0.9.5 or later to eliminate the JavaScript injection flaw
  • Restrict API access to trusted users and enforce strong authentication to reduce the number of credential holders
  • Sanitize or validate css_selector and wait_for inputs on the server side, rejecting or escaping any potentially dangerous characters and disallowing "js:" schemes to prevent injection

Generated by OpenCVE AI on October 29, 2026 at 17:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Unclecode
Unclecode crawl4ai
Vendors & Products Unclecode
Unclecode crawl4ai
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Crawl4AI 0.9.0 before 0.9.5 JavaScript Injection via css_selector and wait_for
Weaknesses CWE-95
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses
  • CWE-95

    Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 5:15 PM
Reserved
Oct 29, 2026, 2:25 PM
Status
Deferred
Published
Oct 29, 2026, 4:18 PM
Modified
Oct 29, 2026, 6:17 PM