{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.8.6"
              },
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.2.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ab63cbd1e3692ce7aae27cfca79d3073fc2b0de5"
            },
            {
              "introduced": "920fc643722b23fae8972ddc166c144e422ae575"
            },
            {
              "fixed": "b4b7db423701a49bc98e614c63ed6d85b5e5600d"
            }
          ],
          "repo": "https://github.com/nextcloud/richdocuments",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Nextcloud is an open-source, self-hosted productivity platform. The Nextcloud Richdocuments application prior to versions 3.8.6 and 4.2.3 returned verbatim exception messages to the user. This could result in a full path disclosure on shared files. (e.g. an attacker could see that the file `shared.txt` is located within `/files/$username/Myfolder/Mysubfolder/shared.txt`). It is recommended that the Richdocuments application is upgraded to 3.8.6 or 4.2.3. As a workaround, disable the Richdocuments application in the app settings.",
  "id": "CVE-2021-39223",
  "modified": "2026-03-13T21:51:14.584217837Z",
  "published": "2021-10-25T22:15:07.507Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/1253460"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nextcloud/richdocuments/pull/1760"
    }
  ],
  "related": [
    "GHSA-rjcc-4cgj-6v93"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}