CVE-2021-25833 in the critical feed json
A file extension handling issue was found in [server] module of ONLYOFFICE DocumentServer v4.2.0.71-v5.6.0.21.
published 2021-03-01 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-12716
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 43.5%
- EPSS 43.5% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
Exploit prediction
43.53% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25833 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25833
exploit, third-party-advisory
-
github.com
/ONLYOFFICE/DocumentServer
product, vendor-advisory
-
github.com
/ONLYOFFICE/server
product
-
github.com
/ONLYOFFICE/server/blob/v5.6.0.21/DocService/sources/converterservice.js#L200
third-party-advisory
-
github.com
/ONLYOFFICE/server/blob/v5.6.0.21/FileConverter/sources/converter.js#L593
third-party-advisory
-
github.com
/ONLYOFFICE/server/blob/v5.6.0.21/FileConverter/sources/converter.js#L283
third-party-advisory
Sources
- CVE List CVE-2021-25833
- NVD CVE-2021-25833
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.