{"id":"CVE-2021-25833","aliases":["CVE-2021-25833"],"related":[],"kind":"vulnerability","state":"published","title":"A file extension handling issue was found in [server] module of ONLYOFFICE DocumentServer v4.2.0.71-v5.6.0.21.","summary":"A file extension handling issue was found in [server] module of ONLYOFFICE DocumentServer v4.2.0.71-v5.6.0.21. The file extension is controlled by an attacker through the request data and leads to arbitrary file overwriting. Using this vulnerability, a remote attacker can obtain remote code execution on DocumentServer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A file extension handling issue was found in [server] module of ONLYOFFICE DocumentServer v4.2.0.71-v5.6.0.21. The file extension is controlled by an attacker through the request data and leads to arbitrary file overwriting. Using this vulnerability, a remote attacker can obtain remote code execution on DocumentServer.","source":"cvelist"},{"lang":"es","text":"Se encontró un problema de manejo de extensiones de archivo en el módulo [server] de ONLYOFFICE DocumentServer versiones v4.2.0.71-v5.6.0.21.&#xa0;La extensión del archivo está controlada por un atacante por medio de los datos de una petición y conlleva a una sobrescritura arbitraria del archivo.&#xa0;Con esta vulnerabilidad, un atacante remoto puede obtener una ejecución de código remota en DocumentServer","source":"nvd"}],"published":"2021-03-01T15:09:17.000Z","modified":"2026-06-17T03:42:29.673Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.2.0.71","lastAffected":"5.6.0.21"}],"vendor":"onlyoffice","product":"document_server","cpe":"cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ONLYOFFICE/DocumentServer","tags":["product","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ONLYOFFICE/server","tags":["product","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ONLYOFFICE/server/blob/v5.6.0.21/DocService/sources/converterservice.js#L200","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ONLYOFFICE/server/blob/v5.6.0.21/FileConverter/sources/converter.js#L593","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ONLYOFFICE/server/blob/v5.6.0.21/FileConverter/sources/converter.js#L283","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25833","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25833","url":"https://www.cve.org/CVERecord?id=CVE-2021-25833","licence":"CVE Terms of Use","modified":"2024-08-03T20:11:28.419Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25833","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25833","licence":"Public domain","modified":"2026-06-17T03:42:29.673Z"}],"updatedAt":"2026-11-25T22:58:00.101Z","epss":{"score":0.44942,"percentile":0.98804,"date":"2026-12-01T12:00:22.000Z"}}