{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "19.0.13"
              },
              {
                "introduced": "20.0.0"
              },
              {
                "fixed": "20.0.11"
              },
              {
                "introduced": "21.0.0"
              },
              {
                "fixed": "21.0.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3845aa47869e6787bf9b25cae59f9b999c6f7807"
            },
            {
              "introduced": "615b994816710a595243d704c9be445f736b4b41"
            },
            {
              "fixed": "3eb0ce9892933c36672e8ba35e771e48a5309321"
            },
            {
              "introduced": "8985b7930653139859002eb3eca2852999ed8f0d"
            },
            {
              "fixed": "5d04a3fed226c370feca686032f47d5422b02bb2"
            }
          ],
          "repo": "https://github.com/nextcloud/server",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Nextcloud Text is a collaborative document editing application that uses Markdown. A cross-site scripting vulnerability is present in versions prior to 19.0.13, 20.0.11, and 21.0.3. The Nextcloud Text application shipped with Nextcloud server used a `text/html` Content-Type when serving files to users. Due the strict Content-Security-Policy shipped with Nextcloud, this issue is not exploitable on modern browsers supporting Content-Security-Policy. The issue was fixed in versions 19.0.13, 20.0.11, and 21.0.3. As a workaround, use a browser that has support for Content-Security-Policy.",
  "id": "CVE-2021-32733",
  "modified": "2026-03-13T21:55:58.115543921Z",
  "published": "2021-07-12T21:15:07.913Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-x4w3-jhcr-57pq"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/1241460"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nextcloud/text/pull/1689"
    }
  ],
  "related": [
    "GHSA-x4w3-jhcr-57pq"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}