CVE-2017-15871: Serialize-To-Js Project Serialize-To-Js

High severity, CVSS 7.5. EPSS: 1.1% chance of exploitation in the next 30 days.

The deserialize function in serialize-to-js through 1.1.1 allows attackers to cause a denial of service via vectors involving an Immediately Invoked Function Expression "function()" substring, as demonstrated by a "function(){console.log(" call or a simple infinite loop. NOTE: the vendor agrees that denial of service can occur but notes that deserialize is explicitly listed as "harmful" within the README.md file

Affected products

Published 2017-10-24. Last modified 2026-06-17.