{"schemaVersion":3,"id":"CVE-2017-16570","aliases":["GHSA-q43c-g2g7-6gxj"],"status":"published","duplicateOf":null,"title":null,"description":"KeystoneJS before 4.0.0-beta.7 allows application-wide CSRF bypass by removing the CSRF parameter and value, aka SecureLayer7 issue number SL7_KEYJS_03. In other words, it fails to reject requests that lack an x-csrf-token header.","dates":{"published":"2017-11-06T08:00:00.000Z","modified":"2024-08-05T20:27:03.997Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Npm","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.02213,"percentile":0.82352,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02213},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02103,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02213,"percentile":0.82352}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02103,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02213,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02213,"percentile":0.82352}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"43922","name":"KeystoneJS < 4.0.0-beta.7 - Cross-Site Request Forgery","source":"exploit-database","url":"https://www.exploit-db.com/exploits/43922","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["nodejs"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"nodejs","file":"exploits/nodejs/webapps/43922.html","codes":["CVE-2017-16570"]},"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-352","name":"Cross-Site Request Forgery (CSRF)","description":"The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.","type":"weakness","status":"Stable","abstraction":"Compound","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/352.html"}],"affected":[{"vendor":"keystonejs","product":"keystone","name":"keystone","label":"keystone","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.0","eol":null,"hubHref":"/vendor/keystonejs/keystone"},{"vendor":"Npm","product":"keystone","name":"keystone","label":"keystone","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/keystone","purlType":"npm","versions":[{"text":"< 4.0.0-beta.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.0-beta.7","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://blog.securelayer7.net/keystonejs-open-source-penetration-testing-report/","label":"blog.securelayer7.net/keystonejs-open-source-penetration-testing-report/","hostname":"blog.securelayer7.net","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/keystonejs/keystone/issues/4437","label":"github.com/keystonejs/keystone/issues/4437","hostname":"github.com","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory","WEB"]},{"url":"https://github.com/keystonejs/keystone/pull/4478","label":"github.com/keystonejs/keystone/pull/4478","hostname":"github.com","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory","WEB"]},{"url":"https://www.exploit-db.com/exploits/43922/","label":"www.exploit-db.com/exploits/43922/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16570","label":"nvd.nist.gov/vuln/detail/CVE-2017-16570","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-q43c-g2g7-6gxj","label":"github.com/advisories/GHSA-q43c-g2g7-6gxj","hostname":"github.com","tags":["Advisory"]},{"url":"https://securelayer7.net/download/pdf/KeystoneJS-Pentest-Report-SecureLayer7.pdf","label":"securelayer7.net/download/pdf/KeystoneJS-Pentest-Report-SecureLayer7.pdf","hostname":"securelayer7.net","tags":["WEB"]},{"url":"https://snyk.io/vuln/SNYK-JS-KEYSTONE-449663","label":"snyk.io/vuln/SNYK-JS-KEYSTONE-449663","hostname":"snyk.io","tags":["WEB"]},{"url":"https://www.exploit-db.com/exploits/43922","label":"www.exploit-db.com/exploits/43922","hostname":"www.exploit-db.com","tags":["WEB"]},{"url":"https://www.npmjs.com/advisories/979","label":"www.npmjs.com/advisories/979","hostname":"www.npmjs.com","tags":["WEB"]},{"url":"http://blog.securelayer7.net/keystonejs-open-source-penetration-testing-report","label":"blog.securelayer7.net/keystonejs-open-source-penetration-testing-report","hostname":"blog.securelayer7.net","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-11-06T08:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T20:27:03.997Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T09:04:51.779Z","stale":false,"partial":false}}