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.