CVE-2023-30581

HighCVSS 7.5/10Last modified Jun 17, 2026

Description

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

Metrics

CVSS 3.1 7.5/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Nov 23, 2023
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2023

CVE-2023-305825.3A vulnerability has been identified in Node.js version 20, affecting users of the experimental permission model when the --allow-fs-read flaCVE-2023-305837.5fs.openAsBlob() can bypass the experimental permission model when using the file system read restriction with the `--allow-fs-read` flag in CVE-2023-305847.7A vulnerability has been discovered in Node.js version 20, specifically within the experimental permission model. This flaw relates to improCVE-2023-305857.5A vulnerability has been identified in the Node.js (.msi version) installation process, specifically affecting Windows users who install NodCVE-2023-305867.5A privilege escalation vulnerability exists in Node.js 20 that allowed loading arbitrary OpenSSL engines when the experimental permission moCVE-2023-305877.5A vulnerability in Node.js version 20 allows for bypassing restrictions set by the --experimental-permission flag using the built-in inspectCVE-2023-305885.3When an invalid public key is used to create an x509 certificate using the crypto.X509Certificate() API a non-expect termination occurs makiCVE-2023-305897.5The llhttp parser in the http module in Node v20.2.0 does not strictly use the CRLF sequence to delimit HTTP requests. This can lead to HTTPCVE-2023-30599.8A vulnerability, which was classified as critical, was found in SourceCodester Online Exam Form Submission 1.0. This affects an unknown partCVE-2023-305907.5The generateKeys() API function returned from crypto.createDiffieHellman() only generates missing (or outdated) keys, that is, it only generCVE-2023-305917.5Denial-of-service in NodeBB <= v2.8.10 allows unauthenticated attackers to trigger a crash, when invoking `eventName.startsWith()` or `eventCVE-2023-30605.4A vulnerability has been found in code-projects Agro-School Management System 1.0 and classified as problematic. This vulnerability affects
CVE-2023-30581: High severity, CVSS 7.5 | Vulnix