{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.2.6"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b9778135c3dbfa86b08856efbc497905c98806ed"
            }
          ],
          "repo": "https://github.com/nextcloud/richdocuments",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "5.0.0"
              },
              {
                "fixed": "5.0.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "6d751c16b609a433c83d9d61585a98efc050260d"
            },
            {
              "fixed": "8290c6ba9937d5bf5cb7635fba20f30d9298e28c"
            }
          ],
          "repo": "https://github.com/nextcloud/richdocuments",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-94hr-7g4v-f53r"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-284",
      "CWE-346"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31024.json"
  },
  "details": "richdocuments is the repository for NextCloud Collabra, the app for Nextcloud Office collaboration. Prior to versions 6.0.0, 5.0.4, and 4.2.6, a user could be tricked into working against a remote Office by sending them a federated share. richdocuments versions 6.0.0, 5.0.4 and 4.2.6 contain a fix for this issue. There are currently no known workarounds available.",
  "id": "CVE-2022-31024",
  "modified": "2026-04-01T23:08:57.705040232Z",
  "published": "2022-06-02T18:25:11Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/1210424"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31024.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-94hr-7g4v-f53r"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31024"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nextcloud/richdocuments/pull/2161"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Federated editing allows iframing remote servers by default in richdocuments"
}