Medium

Cross-Site Scripting in keystone

  • Disclosed: 16.11.2017
  • Updated: 11.10.2026 10:22

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.

Recommendation

Update to version 4.0.0 or later.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package keystone < 4.0.0-beta7 4.0.0-beta7

References

CVSS score 4.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Platform
npm
Package
keystone
Disclosed
16.11.2017
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-7cv6-gvx3-m54m - CC BY 4.0

Vulnerability history: keystone

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
5
First → latest
11.2017 06.2018
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 3
  • Medium 2

Disclosures per year

  1. 2017: 4
  2. 2018: 1
  3. 2019: 0
  4. 2020: 0
  5. 2021: 0
  6. 2022: 0
  7. 2023: 0
  8. 2024: 0
  9. 2025: 0
  10. 2026: 0
  1. High · 7.5 CVE-2015-9240 < 0.3.16 0.3.16
  2. High · 8.8 CVE-2017-16570 < 4.0.0-beta.7 4.0.0-beta.7
  3. Cross-Site Scripting in keystone this entry
    Medium · 4.8 CVE-2017-15881 < 4.0.0-beta7 4.0.0-beta7
  4. High · 8.8 CVE-2017-15879 < 4.0.0-beta7 4.0.0-beta7
  5. Medium · 6.1 CVE-2017-15878 < 4.0.0 4.0.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.