CVE-2022-0087 json
Cross-site Scripting (XSS) - Reflected in keystonejs/keystone
published 2022-01-11 4 y ago modified 2026-06-17 4 mo ago also GHSA-hrgx-7j6v-xj82 , EUVD-2022-0620
- cvss
- 7.1
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
keystone is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Patch / fix
- npm @keystone-6/auth 1.0.2
- keystonejs keystonejs/keystone @keystone-6/auth@1.0.2
Exploit prediction
2.75% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Keystone 6 Login Page - Open Redirect and Cross-Site Scripting nuclei detection template
- huntr.dev https://huntr.dev/bounties/c9d7374f-2cb9-4bac-9c90-a965942f413e referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 7.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @keystone-6/auth | <1.0.2 |
1.0.2 |
| npm | @keystone-next/auth | <=37.0.0 |
no fix listed |
Affected products
- keystonejs keystonejs/keystone
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/keystonejs/keystone/commit/96bf833a23b1a0a5d365cf394467a943cc481b38
web, patch, third-party-advisory
-
huntr.dev
/bounties/c9d7374f-2cb9-4bac-9c90-a965942f413e
web, exploit, patch, third-party-advisory
-
github.com
/keystonejs/keystone/security/advisories/GHSA-hrgx-7j6v-xj82
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-0087
advisory
-
github.com
/keystonejs/keystone
package
Sources
- CVE List CVE-2022-0087
- GitHub Advisory GHSA-hrgx-7j6v-xj82
- NVD CVE-2022-0087
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.