CVE-2022-0087
Cross-site Scripting (XSS) - Reflected in keystonejs/keystone
Record summary
CVE-2022-0087 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
Description
keystone is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
3| Product | Source | Version range | Status |
|---|---|---|---|
keystonejs/keystoneBrowse keystonejs / keystonejs/keystone | CVE List | Before @keystone-6/auth@1.0.2 | affected |
@keystone-6/authBrowse npm / @keystone-6/auth | GitHub Advisory | Before 1.0.2 · Fixed in 1.0.2 | affected |
@keystone-next/authBrowse npm / @keystone-next/auth | GitHub Advisory | Through 37.0.0 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMKeystone 6 Login Page - Open Redirect and Cross-Site ScriptingCVSS 6.1
On the login page, there is a "from=" parameter in URL which is vulnerable to open redirect and can be escalated to reflected XSS.
Impact
Attackers can redirect users to malicious websites or inject malicious JavaScript via the from parameter, potentially facilitating phishing attacks or stealing user credentials.
Remediation
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
Source: ProjectDiscovery