CVE-2022-39338: Stored cross site scripting (XSS) vulnerability via Authorization Endpoint in user_oidc
useroidc is an OpenID Connect user backend for Nextcloud. Versions prior to 1.2.1 did not properly validate discovery urls which may lead to a stored cross site scripting attack vector. The impact is limited due to the restrictive CSP that is applied on this endpoint. Additionally this vulnerability has only been shown to be exploitable in the Safari web browser. This issue has been addressed in version 1.2.1. Users are advised to upgrade. Users unable to upgrade should urge their users to avoid using the Safari web browser.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2022-39338?
CVE-2022-39338 has a low severity due to the restrictive content security policy applied on the affected endpoint.
How do I fix CVE-2022-39338?
To fix CVE-2022-39338, upgrade the Nextcloud OpenID Connect user backend to version 1.2.1 or later.
What is the impact of CVE-2022-39338?
The impact of CVE-2022-39338 involves a potential stored cross-site scripting attack vector due to improper validation of discovery URLs.
Which versions are affected by CVE-2022-39338?
CVE-2022-39338 affects all versions of the Nextcloud OpenID Connect user backend prior to 1.2.1.
What software uses CVE-2022-39338?
CVE-2022-39338 affects the Nextcloud OpenID Connect user backend software.