{"id":"CVE-2022-39338","aliases":["CVE-2022-39338"],"related":[],"kind":"vulnerability","state":"published","title":"Stored cross site scripting (XSS) vulnerability via Authorization Endpoint in user_oidc","summary":"user_oidc 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"user_oidc 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.","source":"cvelist"},{"lang":"es","text":"user_oidc es un backend de usuario de OpenID Connect para Nextcloud. Las versiones anteriores a la 1.2.1 no validaban correctamente las URL de descubrimiento, lo que podía provocar un vector de ataque de Cross Site Scripting almacenado. El impacto es limitado debido al CSP restrictivo que se aplica en este endpoint. Además, se ha demostrado que esta vulnerabilidad sólo se puede explotar en el navegador web Safari. Este problema se ha solucionado en la versión 1.2.1. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben instar a sus usuarios a evitar el uso del navegador web Safari.","source":"nvd"}],"published":"2022-11-25T00:00:00.000Z","modified":"2026-06-17T04:58:10.217Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N","score":3.5,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N","score":3.5,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-79"],"affected":[{"ranges":[{"version":"< 1.2.1","status":"affected"}],"vendor":"nextcloud","product":"security-advisories","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.2.1"}],"vendor":"nextcloud","product":"openid_connect_user_backend","cpe":"cpe:2.3:a:nextcloud:openid_connect_user_backend:*:*:*:*:*:nextcloud:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5fpw-795h-rg57","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nextcloud/user_oidc/pull/496","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://hackerone.com/reports/1687410","tags":["permissions-required","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-23T13:53:57.807Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39338","url":"https://www.cve.org/CVERecord?id=CVE-2022-39338","licence":"CVE Terms of Use","modified":"2025-04-23T16:35:07.992Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39338","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39338","licence":"Public domain","modified":"2026-06-17T04:58:10.217Z"}],"updatedAt":"2026-11-25T22:58:17.072Z","epss":{"score":0.00787,"percentile":0.5735,"date":"2026-12-01T12:00:22.000Z"}}