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 package | Versions | Reported by |
|---|---|---|
| NodeJS Node | from 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 more | CVE List |
| nodejs nodejs | from 18.0 before 18.18.2, from 20.0 before 20.8.1 | CVE List |
| node (Bitnami) | before 18.18.2, from 19.0.0 before 20.8.1 | Bitnami Vulnerability Database |
| node-min (Bitnami) | before 18.18.2, from 19.0.0 before 20.8.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-39333 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2023-39333 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2023-39333 changed 2025-11-06 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2023-39333 changed 2025-11-06 | Apache-2.0 |