Skip to content

ONLYOFFICE Docs

Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)

CVE-2025-5301Published 12 Jun 2025, 07:59 UTC

Real-world risk

2.1/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.1

scored by CISA, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from SEC-VLab)

ONLYOFFICE Docs (DocumentServer) in versions equal and below 8.3.1 are affected by a reflected cross-site scripting (XSS) issue when opening files via the WOPI protocol. Attackers could inject malicious scripts via crafted HTTP POST requests, which are then reflected in the server's HTML response.

Am I affected?

ProductAffected versions (from the sources)Fixed in
ONLYOFFICE DocsNiche<=8.3.1—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Nuclei scanner template (link)
  • Reference tagged as exploit (link)
  • CISA SSVC: proof of concept

EPSS 62.8% chance of exploitation in 30 days (percentile 99), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.700
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.3 × prerequisites 0.7 × threat 12.100
  4. Rounded to one decimal between 0.1 and 102.1

How the score works

Exploitation and evidence timeline

  1. 12 Jun 2025 Published
  2. 3 Dec 2026 Nuclei scanner template first seen
  3. 3 Dec 2026 Reference tagged as exploit first seen
  4. 3 Dec 2026 CISA SSVC: proof of concept first seen
  5. 3 Dec 2026 Risk 2.1 (cvss fallback)

Weakness

CWE-79

References

Get alerts for ONLYOFFICE Docs

Free email or text alerts when a vulnerability in ONLYOFFICE Docs reaches risk 8 or higher. Nothing else.