# CVE-2022-0087: Cross-site Scripting (XSS) - Reflected in keystonejs/keystone

- Severity: High 7.1 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.75%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-11T23:20:11.000Z
- Modified: 2026-06-17T04:19:57.193Z
- Also known as: GHSA-hrgx-7j6v-xj82
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

keystone is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

(As written by CVE List.)

## Affected

- keystonejs keystonejs/keystone: from unspecified before @keystone-6/auth@1.0.2
- @keystone-6/auth (npm): before 1.0.2
- @keystone-next/auth (npm): up to 37.0.0
- keystonejs keystone: before 1.0.2

## Every score

- @huntrdev: CVSS:3.0 7.1 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.0 7.1 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/c9d7374f-2cb9-4bac-9c90-a965942f413e> (exploit, patch, third-party-advisory, web)
- <https://github.com/keystonejs/keystone/commit/96bf833a23b1a0a5d365cf394467a943cc481b38> (patch, third-party-advisory, web)
- <https://github.com/keystonejs/keystone/security/advisories/GHSA-hrgx-7j6v-xj82> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0087> (advisory)
- <https://github.com/keystonejs/keystone> (package)

## Sources

- CVE List: [CVE-2022-0087](https://www.cve.org/CVERecord?id=CVE-2022-0087), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-hrgx-7j6v-xj82](https://github.com/advisories/GHSA-hrgx-7j6v-xj82), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-0087](https://nvd.nist.gov/vuln/detail/CVE-2022-0087), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0087 · Whole record: https://cve.day/CVE-2022-0087.json · Rebuilt by cve.day 2026-11-25T22:58:09.216Z
