Live threats

All CVEs / Nodejs

CVE-2023-30581Nodejs Node.js

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 56
Auth required
No
Published
Nov 23, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js

Original NVD text.

What to do

  1. Apply the vendor's security update for Node.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
nodejsnode.js≥ 16.0.0 < 16.20.1
nodejsnode.js≥ 18.0.0 < 18.16.1
nodejsnode.js≥ 20.0.0 < 20.3.1

Official sources

References

Links published by the sources. Open them with care.