What’s Vulnerable › Vulnerabilities
CVE-2017-15871
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2017-10-24 · updated 2026-06-17
- Weakness: CWE-835
Description
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
- commenthol serialize-to-js: through 1.1.1
References
- https://github.com/commenthol/serialize-to-js/issues/3
- https://kay-malwarebenchmark.github.io/blog/cve-2017-15871-dos-through-iife/
- https://github.com/commenthol/serialize-to-js/issues/3
- https://kay-malwarebenchmark.github.io/blog/cve-2017-15871-dos-through-iife/
Get alerted when CVE-2017-15871 or the next vulnerability affects your stack