CVE-2022-0087
Published: 12 January 2022
Summary
CVE-2022-0087 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Keystonejs Keystone. Its CVSS base score is 6.1 (Medium).
Operationally, ranked in the top 2.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
Keystone, an open-source Node.js-based content management system, contains a cross-site scripting vulnerability (CWE-79) that stems from improper neutralization of user input during web page generation. The flaw affects the rendering of input in web pages and carries a CVSS 3.1 score of 6.1 with a network attack vector, low complexity, no required privileges, and required user interaction, resulting in limited confidentiality and integrity impacts with changed scope.
An unauthenticated remote attacker can supply crafted input that is later rendered in a victim's browser when the victim interacts with a malicious link or page. Successful exploitation allows the attacker to execute arbitrary scripts in the context of the affected Keystone application, potentially stealing session data or performing actions on behalf of the victim within the application's security boundary.
Public references point to a specific commit (96bf833a23b1a0a5d365cf394467a943cc481b38) that addresses the issue in the Keystone repository, along with a corresponding huntr.dev bounty report. Security practitioners should apply the referenced patch or upgrade to a version containing the fix to neutralize the input before it is rendered. The associated EPSS score has remained in the 0.53 range with a modest peak of 0.56, indicating moderate and stable exploitation interest since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-0620
Vulnerability details
keystone is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.