Skip to content

Cross-Site Scripting in keystone

Moderate severity GitHub Reviewed Published Nov 16, 2017 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm keystone (npm)

Affected versions

<= 4.0.0-beta6

Patched versions

4.0.0-beta7

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.

Recommendation

Update to version 4.0.0 or later.

References

Published to the GitHub Advisory Database Nov 16, 2017
Reviewed Jun 16, 2020
Last updated Jan 9, 2023

Severity

Moderate
4.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2017-15881

GHSA ID

GHSA-7cv6-gvx3-m54m

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.