{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.6.3"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0187bea803abdd2b2b6ad8168272d77e27739add"
            }
          ],
          "repo": "https://github.com/onlyoffice/documentserver",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "Directory traversal with remote code execution can occur in /upload in ONLYOFFICE Document Server before 5.6.3, when JWT is used, via a /.. sequence in an image upload parameter.",
  "id": "CVE-2021-3199",
  "modified": "2026-07-08T05:36:44.693681704Z",
  "published": "2021-01-26T18:16:28.507Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}