# CVE-2022-39338: Stored cross site scripting (XSS) vulnerability via Authorization Endpoint in user\_oidc

- Priority: **Routine**
- Reason: Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-11-25 · Modified: 2025-04-23
- Record: https://cvemate.com/vulnerability/CVE-2022-39338 · JSON: https://cvemate.com/vulnerability/CVE-2022-39338/json

## Description

```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.
```

## Signals

- CVSS: 5.4 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.787%, percentile 57.514%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- nextcloud openid\_connect\_user\_backend: \< 1.2.1
- nextcloud security-advisories: \< 1.2.1

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5fpw-795h-rg57>
- <https://github.com/nextcloud/user_oidc/pull/496>
- <https://hackerone.com/reports/1687410>

---

Data as of 2026-12-05T06:50:40.423Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
