Document Server Onlyoffice Document Server

Don't miss out!

Thousands of developers use stack.watch to stay informed.
Get an email whenever new security vulnerabilities are reported in Onlyoffice Document Server.

By the Year

In 2026 there have been 0 vulnerabilities in Onlyoffice Document Server. Last year, in 2025 Document Server had 4 security vulnerabilities published. Right now, Document Server is on track to have less security vulnerabilities in 2026 than it did last year.




Year Vulnerabilities Average Score
2026 0 0.00
2025 4 6.40
2024 1 6.10
2023 5 7.65
2022 3 8.57
2021 6 9.42
2020 4 0.00

It may take a day or so for new Document Server vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.

Recent Onlyoffice Document Server Security Vulnerabilities

ONLYOFFICE Docs 9.x XSS via Color Theme Name in DocumentServer
CVE-2025-68936 6.4 - Medium - December 25, 2025

ONLYOFFICE Docs before 9.2.1 allows XSS via the Color theme name. This is related to DocumentServer.

XSS

ONLYOFFICE Docs XSS via Font field before 9.2.1 (DocumentServer)
CVE-2025-68935 6.4 - Medium - December 25, 2025

ONLYOFFICE Docs before 9.2.1 allows XSS via the Font field for the Multilevel list settings window. This is related to DocumentServer.

XSS

ONLYOFFICE Docs <9.2.1 XSS via comment textarea (DocumentServer)
CVE-2025-68917 6.4 - Medium - December 24, 2025

ONLYOFFICE Docs before 9.2.1 allows XSS in the textarea of the comment editing form. This is related to DocumentServer.

XSS

ONLYOFFICE Document Server <8.0.1 Path Traversal via fileExt in /example/editor
CVE-2023-46988 - April 01, 2025

Path Traversal vulnerability in ONLYOFFICE Document Server before v8.0.1 allows a remote attacker to copy arbitrary files by manipulating the fileExt parameter in the /example/editor endpoint, leading to unauthorized access to sensitive files and potential Denial of Service (DoS).

ONLYOFFICE Docs <8.0.1 XSS via IIFE leading to Function ctor sandbox escape
CVE-2023-50883 6.1 - Medium - September 09, 2024

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.

XSS

Use-after-Free in ONLYOFFICE DocSrv <7.3.2 via crafted JS
CVE-2023-30186 - August 14, 2023

A use after free issue discovered in ONLYOFFICE DocumentServer 4.0.3 through 7.3.2 allows remote attackers to run arbitrary code via crafted JavaScript file.

OOB memory access | ONLYOFFICE DocServer <7.3.2 via JavaScript payload
CVE-2023-30187 - August 14, 2023

An out of bounds memory access vulnerability in ONLYOFFICE DocumentServer 4.0.3 through 7.3.2 allows remote attackers to run arbitrary code via crafted JavaScript file.

Memory Exhaustion in ONLYOFFICE Document Server 4.0.3-7.3.2 via JS
CVE-2023-30188 - August 14, 2023

Memory Exhaustion vulnerability in ONLYOFFICE Document Server 4.0.3 through 7.3.2 allows remote attackers to cause a denial of service via crafted JavaScript file.

ONLYOFFICE Docs <=7.3 Priv Escalation via libgcc_s Trojan
CVE-2022-48422 7.8 - High - March 19, 2023

ONLYOFFICE Docs through 7.3 on certain Linux distributions allows local users to gain privileges via a Trojan horse libgcc_s.so.1 in the current working directory, which may be any directory in which an ONLYOFFICE document is located.

DLL preloading

ONLYOFFICE Incorrect Access Control - Forged Doc URLs via Weak Signing Key
CVE-2021-43444 7.5 - High - January 23, 2023

ONLYOFFICE all versions as of 2021-11-08 is affected by Incorrect Access Control. Signed document download URLs can be forged due to a weak default URL signing key.

authentification

Onlyoffice Document Server v6.0.0 and below and Core 6.1.0.26 and below were discovered to contain a heap overflow
CVE-2022-29777 9.8 - Critical - June 02, 2022

Onlyoffice Document Server v6.0.0 and below and Core 6.1.0.26 and below were discovered to contain a heap overflow via the component DesktopEditor/fontengine/fontconverter/FontFileBase.h.

Memory Corruption

Onlyoffice Document Server v6.0.0 and below and Core 6.1.0.26 and below were discovered to contain a stack overflow
CVE-2022-29776 9.8 - Critical - June 02, 2022

Onlyoffice Document Server v6.0.0 and below and Core 6.1.0.26 and below were discovered to contain a stack overflow via the component DesktopEditor/common/File.cpp.

Memory Corruption

A cross-site scripting (XSS) vulnerability in ONLYOFFICE Document Server Example before v7.0.0
CVE-2022-24229 6.1 - Medium - April 08, 2022

A cross-site scripting (XSS) vulnerability in ONLYOFFICE Document Server Example before v7.0.0 allows remote attackers inject arbitrary HTML or JavaScript through /example/editor.

XSS

A file extension handling issue was found in [server] module of ONLYOFFICE DocumentServer v4.2.0.71-v5.6.0.21
CVE-2021-25833 9.8 - Critical - March 01, 2021

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.

Directory traversal

A heap buffer overflow vulnerability inside of BMP image processing was found at [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v6.0.0
CVE-2021-25832 9.8 - Critical - March 01, 2021

A heap buffer overflow vulnerability inside of BMP image processing was found at [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v6.0.0. Using this vulnerability, an attacker is able to gain remote code executions on DocumentServer.

Memory Corruption

A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3
CVE-2021-25831 9.8 - Critical - March 01, 2021

A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3. An attacker must request the conversion of the crafted file from PPTT into PPTX format. Using the chain of two other bugs related to improper string handling, a remote attacker can obtain remote code execution on DocumentServer.

A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.2.0.236-v5.6.4.13
CVE-2021-25830 9.8 - Critical - March 01, 2021

A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.2.0.236-v5.6.4.13. An attacker must request the conversion of the crafted file from DOCT into DOCX format. Using the chain of two other bugs related to improper string handling, an attacker can achieve remote code execution on DocumentServer.

An improper binary stream data handling issue was found in the [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3
CVE-2021-25829 7.5 - High - March 01, 2021

An improper binary stream data handling issue was found in the [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3. Using this bug, an attacker is able to produce a denial of service attack that can eventually shut down the target server.

Directory traversal with remote code execution can occur in /upload in ONLYOFFICE Document Server before 5.6.3, when JWT is used, via a /
CVE-2021-3199 9.8 - Critical - January 26, 2021

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.

Directory traversal

An issue was discovered in ONLYOFFICE Document Server 5.5.0
CVE-2020-11534 - April 15, 2020

An issue was discovered in ONLYOFFICE Document Server 5.5.0. An attacker can craft a malicious .docx file, and exploit the NSFileDownloader function to pass parameters to a binary (such as curl or wget) and remotely execute code on a victim's server.

A SQL Injection issue was discovered in ONLYOFFICE Document Server 5.5.0
CVE-2020-11537 - April 15, 2020

A SQL Injection issue was discovered in ONLYOFFICE Document Server 5.5.0. An attacker can execute arbitrary SQL queries via injection to DocID parameter of Websocket API.

An issue was discovered in ONLYOFFICE Document Server 5.5.0
CVE-2020-11536 - April 15, 2020

An issue was discovered in ONLYOFFICE Document Server 5.5.0. An attacker can craft a malicious .docx file, and exploit the unzip function to rewrite a binary and remotely execute code on a victim's server.

An issue was discovered in ONLYOFFICE Document Server 5.5.0
CVE-2020-11535 - April 15, 2020

An issue was discovered in ONLYOFFICE Document Server 5.5.0. An attacker can craft a malicious .docx file, and exploit XML injection to enter an attacker-controlled parameter into the x2t binary, to rewrite this binary and/or libxcb.so.1, and execute code on a victim's server.

Stay on top of Security Vulnerabilities

Want an email whenever new vulnerabilities are published for Onlyoffice Document Server or by Onlyoffice? Click the Watch button to subscribe.

Onlyoffice
Vendor

subscribe