Skip to main content

ONLYOFFICE Document Server CVE-2025-68935

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
    Gain document-editing access
  2. Delivery
    Inject script into Multilevel list Font field
  3. Exploit
    Victim opens/renders document
  4. Execution
    Payload executes in victim browser session
  5. Impact
    Hijack session or act in document-server origin

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 an attacker to inject a script payload specifically into the 'Font' field of the Multilevel list settings window in ONLYOFFICE Document Server versions before 9.2.1, and a victim must subsequently open or render the affected document (UI:R). Limiting factors: the attacker needs the ability to reach and populate that document-editing field (typically some editing/collaboration access to the document), and the payload only fires upon victim interaction. Impact is confined to script execution in the user's browser context (C:L/I:L, no availability impact); default configurations without untrusted collaborative editing significantly reduce exposure.

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 attack vector and low complexity are offset by the required user interaction (UI:R) and the limited, non-availability impact (C:L/I:L/A:N) typical of XSS. No EPSS score, CISA KEV listing, or public POC was provided in the input, so there is no signal of active or probable exploitation - this points to a real-but-moderate issue rather than an urgent priority. The scope-change flag (S:C) is meaningful: successful injection executes in the victim's browser session against the document server origin, which can extend impact to other components the user is authenticated to. Note that PR:N (unauthenticated) in the CVSS vector sits in tension with the exploitation path, which requires getting a crafted payload into the Multilevel list 'Font' field - in most deployments this implies some level of document-editing access; verify whether anonymous/guest editing is enabled before treating this as fully unauthenticated.

Exploit ScenarioDerived

An attacker with the ability to edit a shared document injects a malicious script into the Font field of the Multilevel list settings window. When another user (e.g., a collaborator or reviewer) opens the document and the setting is rendered, the script executes in their browser session against the ONLYOFFICE origin. No public exploit code was identified in the provided data, and successful exploitation depends on the victim interacting with the affected document (UI:R).

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 in ONLYOFFICE Document Server before 9.2.1 affects the Font field in the Multilevel list settings window and allows attacker-supplied script to execute in a victim's browser when the crafted document is opened or rendered. The flaw is rated CVSS 6.1 (Medium); the independent assessment requires an actor to reach and populate the vulnerable document-editing field and a victim to interact with the resulting document, with impact limited to low confidentiality and integrity in the browser context. No public exploit identified at time of analysis, and the vendor-released patch is version 9.2.1.

RemediationAI

Upgrade ONLYOFFICE Document Server to version 9.2.1 or later, which is the vendor-released patch referenced in the ONLYOFFICE DocumentServer changelog at https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#921. If immediate upgrade is not possible, restrict editing and collaboration access to trusted users because the assessed exploitation conditions require an actor to populate the vulnerable Font field, and avoid opening untrusted documents in deployments that allow collaborative editing; this reduces exposure but does not eliminate the flaw because the payload triggers on victim interaction. Confirm the installed Document Server version and apply the 9.2.1 update, then validate that the Multilevel list Font field no longer executes injected script.

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

ONLYOFFICE Document Server, also branded ONLYOFFICE Docs, is a web-based collaborative office suite that renders documents in the browser and supports collaborative editing. The affected CPE is cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:*, indicating DocumentServer releases prior to the fixed version. This is a CWE-79 cross-site scripting issue in which the Font field of the Multilevel list settings window does not sufficiently neutralize user-controlled input before it is rendered, allowing script execution in the Document Server origin. The assessed vector shows network reachability, low attack complexity, user interaction required, scope change, and low confidentiality and integrity impact with no availability impact; the payload is constrained to the Font field and fires only when a victim opens or renders the affected document. The reference points to the ONLYOFFICE DocumentServer 9.2.1 changelog, which documents the fix.

Know when Onlyoffice 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

Payload must be written into a document editing field, implying editing access (PR:L); victim must render the document (UI:R); browser-context XSS with scope change gives C:L/I:L, A:N.

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 Font field for the Multilevel list settings window. This is related to DocumentServer.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
popular self-hosted collaborative office suite, 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-2023-34939 CRITICAL POC
9.8 Jun 22

Onlyoffice Community Server before v12.5.2 was discovered to contain a remote code execution (RCE) vulnerability via the

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.

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