{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "8.0.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7c81f692a2d268853d33a498aa50aad2c71f76ce"
            }
          ],
          "repo": "https://github.com/onlyoffice/documentserver",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "ONLYOFFICE Docs before 8.0.1 allows XSS because a macro is an immediately-invoked function expression (IIFE), and therefore a sandbox escape is possible by directly calling the constructor of the Function object. NOTE: this issue exists because of an incorrect fix for CVE-2021-43446.",
  "id": "CVE-2023-50883",
  "modified": "2026-03-10T21:51:17.813674869Z",
  "published": "2024-09-09T20:15:03.640Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.onlyoffice.com/"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.syss.de/pentest-blog/cross-site-scripting-schwachstelle-in-onlyoffice-docs-syss-2023-027"
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2023-027.txt"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}