Overview
The cybersecurity landscape faces a new threat in the form of a severe vulnerability in the ONLYOFFICE Docs plugin for WordPress. The vulnerability, identified as CVE-2025-6380, potentially affects a vast number of websites using the ONLYOFFICE Docs plugin, ranging from versions 1.1.0 to 2.2.0. The severity of this vulnerability lies in the fact that it allows unauthenticated attackers to perform privilege escalation, potentially leading to system compromise and data leakage.
Vulnerability Summary
CVE ID: CVE-2025-6380
Severity: Critical (9.8 out of 10)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: Potential system compromise and data leakage
Affected Products
Escape the Surveillance Era
Most apps won’t tell you the truth.
They’re part of the problem.
Phone numbers. Emails. Profiles. Logs.
It’s all fuel for surveillance.
Ameeba Chat gives you a way out.
- • No phone number
- • No email
- • No personal info
- • Anonymous aliases
- • End-to-end encrypted
Chat without a trace.
Product | Affected Versions
ONLYOFFICE Docs Plugin for WordPress | 1.1.0 – 2.2.0
How the Exploit Works
The vulnerability arises from a lack of proper authorization in the oo.callback REST endpoint of the ONLYOFFICE Docs plugin for WordPress. The plugin’s permission callback checks that the supplied, encrypted attachment ID maps to an existing attachment post. However, it does not verify the identity or capabilities of the requester. This oversight allows unauthenticated attackers to log in as any user, escalating their privileges and potentially gaining unauthorized access to sensitive information or control over the system.
Conceptual Example Code
The following is a conceptual example of how an attacker might exploit this vulnerability. In this case, the attacker sends a malicious HTTP request to the vulnerable endpoint:
POST /wp-json/onlyoffice/v1/callback HTTP/1.1
Host: target.example.com
Content-Type: application/json
{
"attachment": {
"id": "<encrypted_attachment_id>",
"userid": "<arbitrary_user_id>"
}
}
In this example, `
Mitigation and Prevention
To mitigate this vulnerability, affected users are advised to apply the vendor’s patch as soon as possible. If the patch cannot be applied immediately, the use of a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can serve as a temporary mitigation strategy. Regularly updating all software and plugins to their latest versions can help prevent future vulnerabilities.