Skip to main content

CVE-2026-91944: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in unclecode crawl4ai

0
Medium
VulnerabilityCVE-2026-91944cvecve-2026-91944
Published: 09/15/2026 (09/15/2026, 15:18:03 UTC)
Source: CVE Database V5
Vendor/Project: unclecode
Product: crawl4ai

Description

crawl4ai versions before 0.9.3 contain a DOM-based cross-site scripting vulnerability in the Playground UI where the forceHighlightElement() function assigns textContent back to innerHTML, re-parsing JSON responses as HTML. Attackers can inject malicious scripts through crawled page content like the page title to steal the operator's API token from sessionStorage and gain full server control.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Affected software

unclecode

crawl4ai

Affected versions
>=0 <0.9.3
GitHub Actionsmore threats →ai
unclecode/crawl4ai
pkg:github/unclecode/crawl4ai
Affected versions
>=0 <0.9.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 15:48:03 UTC

Technical Analysis

CVE-2026-91944 is a DOM-based cross-site scripting vulnerability in unclecode's crawl4ai product affecting versions prior to 0.9.3. The issue exists in the Playground UI where the forceHighlightElement() function improperly assigns textContent to innerHTML, causing JSON responses to be interpreted as HTML. This flaw enables attackers to inject malicious scripts through content from crawled pages, such as the page title. Successful exploitation can result in theft of sensitive session data like API tokens and may allow attackers to gain full control over the server.

Potential Impact

An attacker exploiting this vulnerability can inject malicious scripts that steal the operator's API token from sessionStorage. This token theft can lead to unauthorized access and full control over the crawl4ai server, compromising confidentiality and integrity of the system.

Mitigation Recommendations

A fix is available in crawl4ai version 0.9.3 and later. Users should upgrade to version 0.9.3 or newer to remediate this vulnerability. No vendor advisory was provided, so patch status is based on the version information given.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-09-15T11:07:01.913Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aa9651a55bf5e2cf502eb09

Added to database: 09/15/2026, 15:32:42 UTC

Last enriched: 09/15/2026, 15:48:03 UTC

Last updated: 09/16/2026, 02:32:18 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses