{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:nextcloud:talk:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "10.0.7"
              },
              {
                "introduced": "10.1.0"
              },
              {
                "fixed": "10.1.4"
              },
              {
                "introduced": "11.0.0"
              },
              {
                "fixed": "11.1.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dae087773399f4b704ba4b9f22f74e0c12ac96f4"
            },
            {
              "introduced": "a7fc0ed75ed8970846df758bf5c04750432e50ad"
            },
            {
              "fixed": "9a5635719622fd7dfa5a98b0d0ce92519ac2ce04"
            },
            {
              "introduced": "ecdbfcb42460e754b26933575576369643ee8661"
            },
            {
              "fixed": "bc0f9dc685befbf77d1baee7670044d16875b783"
            }
          ],
          "repo": "https://github.com/nextcloud/spreed",
          "type": "GIT"
        }
      ]
    },
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:nextcloud:talk:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "11.0.0"
              },
              {
                "fixed": "11.1.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "f1df514ff0b6000a640c9f0dee70773f79ad7d7f"
            },
            {
              "fixed": "2f661b8076e79c9df8941cbadce59750cd7dfb0f"
            }
          ],
          "repo": "https://github.com/nextcloud/talk-android",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xhxq-f4vg-jw5g"
  ],
  "database_specific": {},
  "details": "Nextcloud is an open-source, self-hosted productivity platform. The Nextcloud Talk application was vulnerable to a stored Cross-Site Scripting (XSS) vulnerability. For exploitation, a user would need to right-click on a malicious file and open the file in a new tab. Due the strict Content-Security-Policy shipped with Nextcloud, this issue is not exploitable on modern browsers supporting Content-Security-Policy. It is recommended that the Nextcloud Talk application is upgraded to patched versions 10.0.7, 10.1.4, 11.1.2, 11.2.0 or 12.0.0. As a workaround, use a browser that has support for Content-Security-Policy.",
  "id": "CVE-2021-39222",
  "modified": "2026-08-07T11:31:29.477082119Z",
  "published": "2021-11-15T19:15:07.297Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-xhxq-f4vg-jw5g"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nextcloud/spreed/pull/542"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/1135481"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}