CVE-2022-0087
mediumpriority · track · 25EPSS 0.026 · 85 %ileEUUSEPSS · scored 2026-10-28
keystone is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.3–7.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-hrgx-7j6v-xj82Reflected cross-site scripting (XSS) vulnerability2022-01-12ghsa · osvUS
This security advisory relates to a capability for an attacker to exploit a reflected cross-site scripting vulnerability when using the `@keystone-6/auth` package. #### Impact The vulnerability can impact users of the administration user interface when following an untrusted link to the `signin` or `init` page. This is a targeted attack and may present itself in the form of phishing and or chained in conjunction with some other vulnerability. ## Vulnerability mitigation Please upgrade to `@keystone-6/auth >= 1.0.2`, where this vulnerability has been closed. If you are using `@keystone-next/auth`, we **strongly** recommend you upgrade to `@keystone-6`. ### Workarounds If for some reason you cannot upgrade the dependencies in software, you could alternatively - disable the administration user interface, or - if using a reverse-proxy, strip query parameters when accessing the administration interface ### References https://owasp.org/www-community/attacks/xss/ Thanks to Shivansh Khari (@Shivansh-Khari) for discovering and reporting this vulnerability
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/keystonejs/keystone/commit/96bf833a23b1a0a5d365cf394467a943cc481b38cnnvd
- https://huntr.dev/bounties/c9d7374f-2cb9-4bac-9c90-a965942f413ecnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-0087cnnvd
- https://github.com/keystonejs/keystone/commit/96bf833a23b1a0a5d365cf394467a943cc481b38enisa_euvd
- https://huntr.dev/bounties/c9d7374f-2cb9-4bac-9c90-a965942f413eenisa_euvd
- https://github.com/keystonejs/keystone/commit/96bf833a23b1a0a5d365cf394467a943cc481b38PatchThird Party Advisorynvd
- https://huntr.dev/bounties/c9d7374f-2cb9-4bac-9c90-a965942f413eExploitPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan