CVE-2017-15878 Cross-Site Scripting in keystone
An XSS vulnerability in KeystoneJS allows attackers to inject malicious scripts via the Contact Us feature, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-15878?
CVE-2017-15878 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Oct 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2017-15878?
2 open source packages ship an affected version, including keystone. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
keystone npm | All versions | 4.0.0 |
keystone npm | All versions | 4.0.0 |
Products include Keystonejs Keystone.
How do I fix CVE-2017-15878?
Upgrade keystone to 4.0.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2017-15878 being exploited?
There is no known exploitation of CVE-2017-15878 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
- CVE-2022-39382 NODE_ENV in Keystone defaults to development with esbuild
- CVE-2022-29354 File upload in n/a
- CVE-2022-39322 @keystone-6/core vulnerable to field-level access-control bypass for multiselect field
- CVE-2017-16570 Cross-Site Request Forgery (CSRF) in keystone
- CVE-2017-15879 Keystone is vulnerable to CSV injection
Sources
Also known as GHSA-7qcx-jmrc-h2rr.