Overview
The Offsprout Page Builder plugin for WordPress has been identified as having a significant security vulnerability, specifically a privilege escalation vulnerability. This flaw, designated as CVE-2025-4672, affects versions 2.2.1 to 2.15.2 of the plugin. It allows authenticated attackers with Contributor-level access and above to manipulate user meta, including their own wp_capabilities, thereby escalating their privileges to the level of administrator. This vulnerability could potentially lead to system compromise or data leakage, posing a serious threat to any WordPress site using the affected versions of the Offsprout plugin.
Vulnerability Summary
CVE ID: CVE-2025-4672
Severity: High (CVSS: 8.8)
Attack Vector: Network
Privileges Required: Low (Contributor-level access)
User Interaction: Required
Impact: System compromise, 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
Offsprout Page Builder Plugin for WordPress | 2.2.1 to 2.15.2
How the Exploit Works
The exploit takes advantage of insufficient authorization checks in the permission_callback() function of the Offsprout plugin. An attacker with Contributor-level access or above is able to send crafted requests that modify the user meta data. This could include changing their own wp_capabilities to that of an administrator, thus allowing them to perform any administrative task on the WordPress site. This includes reading, creating, updating, or deleting any content on the site.
Conceptual Example Code
The following is a conceptual example of how the vulnerability might be exploited using a crafted HTTP request to the vulnerable endpoint.
POST /wp-json/offsprout/v1/users/1 HTTP/1.1
Host: target.example.com
Content-Type: application/json
Authorization: Bearer [access_token]
{
"meta": {
"wp_capabilities": {
"administrator": "1"
}
}
}
In this example, the attacker sends a POST request to the Offsprout endpoint for user updates. The request includes a JSON body that changes the wp_capabilities of the user to administrator. This would grant the attacker full administrative privileges on the WordPress site.
Mitigation Guidance
To mitigate this vulnerability, users are advised to apply the latest patch provided by the vendor. If a patch is not immediately available, using a Web Application Firewall(WAF) or Intrusion Detection System(IDS) can provide temporary protection by identifying and blocking malicious requests.