CVE-2017-15871: The deserialize function in serialize-to-js through 1.1.1 allows attackers to cause a denial of service via ve
CVE-2017-15871 is a high-severity flaw (CVSS 7.5) affecting serialize-to-js. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.1% (top 33%) |
| CISA exploited list | No |
| Weakness | CWE-835 |
| Published | 2017-10-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-15871?
serialize-to-js: upgrade to newer than 1.1.1. Exact commands for each OS are on this page.
Is CVE-2017-15871 being exploited?
CVE-2017-15871 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-15871 affect?
CVE-2017-15871 affects serialize-to-js. Severity is high (CVSS 7.5). 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("
How urgent is CVE-2017-15871?
Priority 53/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2019-16772 LOW 3.1 UPGRADE The serialize-to-js NPM package before version 3.0.1 is vulnerable to Cross-site Scripting (XSS)