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

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2023-04-04T12:38:31.201Z
- Modified: 2026-06-17T05:48:54.507Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 1.0.0, < 1.3.0
- nextcloud user_oidc: from 1.0.0 before 1.3.0

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-52hv-xw32-wf7f> (vendor-advisory)
- <https://github.com/nextcloud/user_oidc/pull/580> (patch, vendor-advisory)
- <https://hackerone.com/reports/1878381> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-28848](https://www.cve.org/CVERecord?id=CVE-2023-28848), CVE Terms of Use, modified 2025-02-11
- NVD: [CVE-2023-28848](https://nvd.nist.gov/vuln/detail/CVE-2023-28848), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-28848 · Whole record: https://cve.day/CVE-2023-28848.json · Rebuilt by cve.day 2026-11-25T22:58:23.032Z
