{"schemaVersion":3,"id":"CVE-2017-15878","aliases":["GHSA-7qcx-jmrc-h2rr"],"status":"published","duplicateOf":null,"title":null,"description":"A cross-site scripting (XSS) vulnerability exists in fields/types/markdown/MarkdownType.js in KeystoneJS before 4.0.0-beta.7 via the Contact Us feature.","dates":{"published":"2017-10-24T21:00:00.000Z","modified":"2024-08-05T20:04:50.576Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Npm","score":6.1,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true}]},"epss":{"probability":0.03415,"percentile":0.88741,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03415},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04146,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03415,"percentile":0.88741}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04146,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03415,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03415,"percentile":0.88741}]},"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":"REF_74CDBF557E3814E8","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"https://packetstormsecurity.com/files/144756/KeystoneJS-4.0.0-beta.5-Unauthenticated-Stored-Cross-Site-Scripting.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"43054","name":"KeystoneJS 4.0.0-beta.5 - Cross-Site Scripting","source":"exploit-database","url":"https://www.exploit-db.com/exploits/43054","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["nodejs"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"nodejs","file":"exploits/nodejs/webapps/43054.txt","codes":["CVE-2017-15878"]},"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.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","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.0","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/keystonejs/keystone/pull/4478","label":"github.com/keystonejs/keystone/pull/4478","hostname":"github.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory","WEB"]},{"url":"http://www.securityfocus.com/bid/101541","label":"www.securityfocus.com/bid/101541","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory","WEB"]},{"url":"https://www.exploit-db.com/exploits/43054/","label":"www.exploit-db.com/exploits/43054/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Issue Tracking","Patch","Third Party Advisory","VDB Entry"]},{"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://packetstormsecurity.com/files/144756/KeystoneJS-4.0.0-beta.5-Unauthenticated-Stored-Cross-Site-Scripting.html","label":"packetstormsecurity.com/files/…","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Issue Tracking","Patch","Third Party Advisory","VDB Entry","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-15878","label":"nvd.nist.gov/vuln/detail/CVE-2017-15878","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-7qcx-jmrc-h2rr","label":"github.com/advisories/GHSA-7qcx-jmrc-h2rr","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/keystonejs/keystone","label":"github.com/keystonejs/keystone","hostname":"github.com","tags":["PACKAGE"]},{"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://www.exploit-db.com/exploits/43054","label":"www.exploit-db.com/exploits/43054","hostname":"www.exploit-db.com","tags":["WEB"]},{"url":"https://www.npmjs.com/advisories/980","label":"www.npmjs.com/advisories/980","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-10-24T21:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T20:04:50.576Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T11:58:29.427Z","stale":false,"partial":false}}