Skip to main content

ONLYOFFICE Docs CVE-2025-68936

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-25 cve@mitre.org
6.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft Color theme name with script payload
  2. Delivery
    Deliver via shared document/editor
  3. Exploit
    Victim opens document in ONLYOFFICE Docs
  4. Execution
    Unsanitized theme name renders in browser
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionNVD

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

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
popular open-source collaborative office/document server, common but not universal
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:*
CVE-2021-3199 CRITICAL POC
9.8 Jan 26

Directory traversal with remote code execution can occur in /upload in ONLYOFFICE Document Server before 5.6.3, when JWT

CVE-2023-30187 CRITICAL POC
9.8 Aug 14

An out of bounds memory access vulnerability in ONLYOFFICE DocumentServer 4.0.3 through 7.3.2 allows remote attackers to

CVE-2023-30186 CRITICAL POC
9.8 Aug 14

A use after free issue discovered in ONLYOFFICE DocumentServer 4.0.3 through 7.3.2 allows remote attackers to run arbitr

CVE-2022-29777 CRITICAL POC
9.8 Jun 02

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

CVE-2022-29776 CRITICAL POC
9.8 Jun 02

Onlyoffice Document Server v6.0.0 and below and Core 6.1.0.26 and below were discovered to contain a stack overflow via

CVE-2021-25833 CRITICAL POC
9.8 Mar 01

A file extension handling issue was found in [server] module of ONLYOFFICE DocumentServer v4.2.0.71-v5.6.0.21. Rated cri

CVE-2021-25832 CRITICAL POC
9.8 Mar 01

A heap buffer overflow vulnerability inside of BMP image processing was found at [core] module of ONLYOFFICE DocumentSer

CVE-2021-25831 CRITICAL POC
9.8 Mar 01

A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3. Rated critical

CVE-2021-25830 CRITICAL POC
9.8 Mar 01

A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.2.0.236-v5.6.4.13. Rated crit

CVE-2023-30188 HIGH POC
7.5 Aug 14

Memory Exhaustion vulnerability in ONLYOFFICE Document Server 4.0.3 through 7.3.2 allows remote attackers to cause a den

CVE-2021-25829 HIGH POC
7.5 Mar 01

An improper binary stream data handling issue was found in the [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.

CVE-2023-46988 MEDIUM POC
6.7 Apr 01

Path Traversal vulnerability in ONLYOFFICE Document Server before v8.0.1 allows a remote attacker to copy arbitrary file

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy