All reports
Medium

nodejs: Bypass network import restriction via data URL

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-22020

Probability of exploitation in the next 30 days: 1.10%

FIRST EPSS · 2026-11-22

Description

A security flaw in Node.js allows a bypass of network import restrictions. By embedding non-network imports in data URLs, an attacker can execute arbitrary code, compromising system security. Verified on various platforms, the vulnerability is mitigated by forbidding data URLs in network imports. Exploiting this flaw can violate network import security, posing a risk to developers and servers.

A flaw was found in the Node.js package. By embedding non-network imports in data URLs, this flaw allows an attacker to execute arbitrary code, compromising system security.