{"id":"CVE-2017-15881","aliases":["EUVD-2017-0345","GHSA-7cv6-gvx3-m54m"],"status":"published","title":"Cross-Site Scripting in keystone","description":"Cross-Site Scripting vulnerability in KeystoneJS before 4.0.0-beta.7 allows remote authenticated administrators to inject arbitrary web script or HTML via the \"content brief\" or \"content extended\" field, a different vulnerability than CVE-2017-15878.","severity":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01215,"percentile":0.68777,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2017-10-24T22:00:00Z","modified":"2026-10-20T10:47:48Z","fixes":[{"ecosystem":"npm","package":"keystone","fixed_in":["4.0.0-beta7"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"keystone","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.0.0-beta6"},{"fixed":"4.0.0-beta7"}]}]},{"source":"osv","ecosystem":"npm","package":"keystone","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.0.0-beta7"}]}]}],"products":[{"vendor":"keystonejs","product":"keystone"}],"references":[{"url":"http://www.securityfocus.com/bid/101541","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://blog.securelayer7.net/keystonejs-open-source-penetration-testing-report/","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/keystonejs/keystone/issues/4437","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/keystonejs/keystone/pull/4478","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-15881","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7cv6-gvx3-m54m","tags":["advisory"]},{"url":"https://securelayer7.net/download/pdf/KeystoneJS-Pentest-Report-SecureLayer7.pdf","tags":["web"]},{"url":"https://www.npmjs.com/advisories/981","tags":["web"]},{"url":"http://blog.securelayer7.net/keystonejs-open-source-penetration-testing-report","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-15881","description":"Cross-Site Scripting vulnerability in KeystoneJS before 4.0.0-beta.7 allows remote authenticated administrators to inject arbitrary web script or HTML via the \"content brief\" or \"content extended\" field, a different vulnerability than CVE-2017-15878.","status":"published","published":"2017-10-24T22:00:00Z","modified":"2024-08-05T20:04:50.418Z","updated_at":"2026-11-02T14:33:14.556599Z"}],"euvd":[{"id":"EUVD-2017-0345","description":"Cross-Site Scripting vulnerability in KeystoneJS before 4.0.0-beta.7 allows remote authenticated administrators to inject arbitrary web script or HTML via the \"content brief\" or \"content extended\" field, a different vulnerability than CVE-2017-15878.","status":"published","published":"2017-10-24T22:00:00Z","modified":"2024-08-05T20:04:50Z","updated_at":"2026-11-03T02:23:13.410138Z"}],"ghsa":[{"id":"GHSA-7cv6-gvx3-m54m","title":"Cross-Site Scripting in keystone","description":"Versions of `keystone` prior to 4.0.0 are vulnerable to Cross-Site Scripting (XSS). The package fails to properly encode rendered HTML on admin-created blog posts. This allows attackers to execute arbitrary JavaScript in the victim's browser. Exploiting this vulnerability requires having access to an admin account.\n\n\n## Recommendation\n\nUpdate to version 4.0.0 or later.","status":"published","published":"2017-11-16T01:47:02Z","modified":"2023-01-09T05:02:55Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:04.396827Z"}],"nvd":[{"id":"CVE-2017-15881","description":"Cross-Site Scripting vulnerability in KeystoneJS before 4.0.0-beta.7 allows remote authenticated administrators to inject arbitrary web script or HTML via the \"content brief\" or \"content extended\" field, a different vulnerability than CVE-2017-15878.","status":"published","published":"2017-10-24T22:29:00.24Z","modified":"2026-06-17T01:08:25.63Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:04:08.01771Z"}],"osv":[{"id":"CVE-2017-15881","description":"Cross-Site Scripting vulnerability in KeystoneJS before 4.0.0-beta.7 allows remote authenticated administrators to inject arbitrary web script or HTML via the \"content brief\" or \"content extended\" field, a different vulnerability than CVE-2017-15878.","status":"published","published":"2017-10-24T22:29:00.24Z","modified":"2026-10-20T10:47:48.2036077Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"GHSA-7cv6-gvx3-m54m","title":"Cross-Site Scripting in keystone","description":"Versions of `keystone` prior to 4.0.0 are vulnerable to Cross-Site Scripting (XSS). The package fails to properly encode rendered HTML on admin-created blog posts. This allows attackers to execute arbitrary JavaScript in the victim's browser. Exploiting this vulnerability requires having access to an admin account.\n\n\n## Recommendation\n\nUpdate to version 4.0.0 or later.","status":"published","published":"2017-11-16T01:47:02Z","modified":"2023-11-08T03:58:58.974306Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:41.002603Z"}]}}
