ONLYOFFICE Docs CVE-2025-68936
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft Color theme name with script payload
-
DeliveryDeliver via shared document/editor
-
ExploitVictim opens document in ONLYOFFICE Docs
-
ExecutionUnsanitized theme name renders in browser
-
ImpactScript executes in victim session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to inject a malicious script into the Color theme name field of ONLYOFFICE Document Server (before 9.2.1) and have a victim render that theme in the editor, so victim user interaction (opening/viewing the affected document or theme) is a hard prerequisite per UI:R. Exploitation is limited to versions prior to 9.2.1 and, in practice, to an attacker who can create or share a document/theme that the victim will open; impact is confined to the browser/editor context (confidentiality and integrity only, no availability effect). The CVSS claim of PR:N should be treated cautiously because authoring a custom color theme may require an authenticated editing session. |
| Impact | This is a CWE-79 cross-site scripting flaw in ONLYOFFICE Document Server, rated CVSS 6.1 (medium) with vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The network vector and low attack complexity favor exploitability, but the required user interaction (UI:R) and the limited, scope-changed browser-context impact (C:L/I:L/A:N) cap severity - this is a classic reflected/stored XSS profile, not a system-compromise bug. No EPSS score, KEV listing, SSVC decision, or POC was provided in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation; the risk signals that exist (CVSS) and the absent signals (EPSS/KEV/POC) are consistent with a real-but-moderate issue rather than an urgent priority. One point of tension: the CVSS vector asserts PR:N (unauthenticated), yet injecting a malicious 'Color theme name' plausibly requires an authenticated editing session or the ability to share crafted content, so the no-privilege assumption should be verified against the vendor's exploitation model. |
| Exploit ScenarioDerived | An attacker crafts a Color theme whose name contains a malicious script payload and gets it into a document or editor session shared with a victim. When the victim opens the document in ONLYOFFICE Docs and the theme name is rendered without proper sanitization, the script executes in the victim's browser session, enabling session theft or actions in the editor's context. No public POC was provided in the input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Cross-site scripting (XSS) in ONLYOFFICE Docs before version 9.2.1 allows an authenticated attacker to inject malicious script via the Color theme name field, which executes in a victim's browser when the theme is rendered in the editor. Exploitation requires victim interaction (opening a document or theme), and the impact is limited to confidentiality and integrity in the browser context; no public exploit code has been identified at time of analysis. The vulnerability is rated CVSS 6.1 (medium) and affects ONLYOFFICE Document Server.
RemediationAI
Upgrade to ONLYOFFICE Document Server version 9.2.1 or later, as per the vendor's changelog (https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#921). This is the primary fix. As no public exploit code has been identified, immediate patching is recommended but not urgent. If upgrading is not immediately possible, consider restricting the ability to create or share custom color themes to trusted users only, as this reduces the attack surface; however, this may impact collaboration features and does not fully eliminate the risk. Additionally, ensure that input sanitization is enforced on the server side for all user-supplied fields, though this may require custom development.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a CWE-79 cross-site scripting (XSS) flaw in the ONLYOFFICE Document Server component (CPE: cpe:2.3:a:onlyoffice:document_server). The Color theme name parameter is not properly sanitized before being rendered in the web-based editor, allowing an attacker to inject arbitrary JavaScript. When a victim views a document or theme containing the malicious payload, the script executes in the context of the victim's browser, potentially leading to session hijacking or data theft. The affected versions are all releases prior to 9.2.1. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) indicates that although the attack is network-accessible, it requires low privileges (authentication) and victim user interaction, and the scope is changed due to the script executing in the victim's browser.
Know when Document Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
XSS executes in a victim's browser so S:C with C:L/I:L and A:N and UI:R; PR:L because authoring/injecting a Color theme name realistically needs an authenticated editor session rather than fully anonymous access.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
ONLYOFFICE Docs before 9.2.1 allows XSS via the Color theme name. This is related to DocumentServer.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)NVD
More in Document Server
View allDirectory traversal with remote code execution can occur in /upload in ONLYOFFICE Document Server before 5.6.3, when JWT
An out of bounds memory access vulnerability in ONLYOFFICE DocumentServer 4.0.3 through 7.3.2 allows remote attackers to
A use after free issue discovered in ONLYOFFICE DocumentServer 4.0.3 through 7.3.2 allows remote attackers to run arbitr
Onlyoffice Document Server v6.0.0 and below and Core 6.1.0.26 and below were discovered to contain a heap overflow via t
Onlyoffice Document Server v6.0.0 and below and Core 6.1.0.26 and below were discovered to contain a stack overflow via
A file extension handling issue was found in [server] module of ONLYOFFICE DocumentServer v4.2.0.71-v5.6.0.21. Rated cri
A heap buffer overflow vulnerability inside of BMP image processing was found at [core] module of ONLYOFFICE DocumentSer
A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3. Rated critical
A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.2.0.236-v5.6.4.13. Rated crit
Memory Exhaustion vulnerability in ONLYOFFICE Document Server 4.0.3 through 7.3.2 allows remote attackers to cause a den
An improper binary stream data handling issue was found in the [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.
Path Traversal vulnerability in ONLYOFFICE Document Server before v8.0.1 allows a remote attacker to copy arbitrary file
NVD
CVE.org
EPSS
GitHub
Exploit-DB