What’s Vulnerable › Vulnerabilities

CVE-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 products

How to fix

Upgrade to a fixed version: nodejs 18.18.2, 20.8.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-39333 or the next vulnerability affects your stack