Hexret

Web Security · Data integrity

node-serialize function revival

Historical node-serialize recognizes _$$ND_FUNC$$_ at the start of a string and evaluates the rest as a JavaScript function expression during unserialize. A marked immediately invoked function runs then. Do not pass untrusted state to this package. This is the package-specific behavior behind CVE-2017-5941.

Where you practice it

Related terms