CVE-2023-39333
JSON

5.3medium

Maliciously crafted export names in an imported WebAssembly module can inject JavaScript code.

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
1.13% (higher than 67% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2023-39333BIT-NODE-MIN-2023-39333

Description

Maliciously crafted export names in an imported WebAssembly module can inject JavaScript code. The injected code may be able to access data and functions that the WebAssembly module itself does not have access to, similar to as if the WebAssembly module was a JavaScript module. This vulnerability affects users of any active release line of Node.js. The vulnerable feature is only available if Node.js is started with the `--experimental-wasm-modules` command line option.

Affected

Product or packageVersionsReported by
NodeJS Nodefrom 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 9 moreCVE List
nodejs nodejsfrom 18.0 before 18.18.2, from 20.0 before 20.8.1CVE List
node (Bitnami)before 18.18.2, from 19.0.0 before 20.8.1Bitnami Vulnerability Database
node-min (Bitnami)before 18.18.2, from 19.0.0 before 20.8.1Bitnami Vulnerability Database

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Maliciously crafted export names in an imported WebAssembly module can inject JavaScript code. The injected code may be able to access data and functions that the WebAssembly module itself does not have access to, similar to as if the WebAssembly module was a JavaScript module. This vulnerability affects users of any active release line of Node.js. The vulnerable feature is only available if Node.js is started with the `--experimental-wasm-modules` command line option.

NVD (es)

Los nombres de exportación creados con fines malintencionados en un módulo WebAssembly importado pueden inyectar código JavaScript. El código inyectado puede tener acceso a datos y funciones a los que el módulo WebAssembly no tiene acceso, de forma similar a si el módulo WebAssembly fuera un módulo JavaScript. Esta vulnerabilidad afecta a los usuarios de cualquier línea de versión activa de Node.js. La característica vulnerable solo está disponible si Node.js se inicia con la opción de línea de comandos `--experimental-wasm-modules`.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-39333 changed 2025-11-03CVE Terms of Use
NVDCVE-2023-39333 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2023-39333 changed 2025-11-06Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2023-39333 changed 2025-11-06Apache-2.0