Cross-Site Scripting in keystone (GHSA-7qcx-jmrc-h2rr)
Published: 2017-11-15T19:44:16Z
Aliases: CVE-2017-15878
Severity: MODERATE · CWE: CWE-79

Versions of `keystone` prior to 4.0.0 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize user input on the `Contact Us` page,  allowing attackers to submit contact forms with malicious JavaScript in the message field. The output is not properly encoded leading an admin that opens new inquiry to execute the arbitrary JavaScript supplied in their browser.


## Recommendation

Update to version 4.0.0 or later.

Affected packages:
package: ecosystem: npm
name: keystone
ranges: type: ECOSYSTEM
events: introduced: 0
fixed: 4.0.0