CVE-2025-64227
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-64227 is a PHP Object Injection vulnerability (Deserialization of Untrusted Data) in the "Client Invoicing by Sprout Invoices" WordPress plugin developed by BoldGrid. It affects all versions up to and including 20.8.7 and allows unauthenticated remote attackers to perform object injection attacks. The vulnerability was reported on May 27, 2025, by researcher mcdruid and published by Patchstack on September 2, 2025; it was assigned a CVE on December 18, 2025. It carries a CVSS v3.1 base score of 9.8 (Critical) (Patchstack).

Technical details

The root cause is improper deserialization of untrusted user-supplied data (CWE-502 / CAPEC-586: Object Injection), classified under OWASP Top 10 A3: Injection. An unauthenticated remote attacker can submit a crafted serialized PHP object payload to the plugin, which is deserialized without adequate validation. If a suitable Property-Oriented Programming (POP) chain exists within the WordPress installation or its plugins/themes, this can be leveraged to achieve code injection, SQL injection, path traversal, or denial of service. No authentication or user interaction is required, and attack complexity is low (Patchstack).

Impact

Successful exploitation can result in full compromise of the affected WordPress site, including arbitrary code execution, SQL injection, path traversal, and denial of service — contingent on the presence of a usable POP chain in the environment. The vulnerability has high impact on confidentiality, integrity, and availability, potentially exposing sensitive invoice and client data, enabling unauthorized administrative access, and facilitating lateral movement within the hosting environment. Given the unauthenticated attack vector, mass-exploit campaigns targeting thousands of WordPress sites simultaneously are a realistic threat (Patchstack).

Exploitability

As of the time of disclosure, there is no confirmed public proof-of-concept exploit and no evidence of active in-the-wild exploitation (Patchstack). The EPSS score is approximately 0.024% (0.000240), indicating a currently low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, Patchstack notes that vulnerabilities of this class and CVSS score are frequently targeted in mass-exploit campaigns against WordPress sites.

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the "Client Invoicing by Sprout Invoices" plugin (sprout-invoices) at version 20.8.7 or earlier using tools like WPScan, Shodan, or by inspecting plugin directories exposed via the web server.
  2. Identify deserialization entry point: Analyze the plugin's source code or network traffic to locate the specific parameter or endpoint that accepts and deserializes user-supplied PHP serialized data without sanitization.
  3. Identify POP chain: Enumerate classes available in the WordPress installation, active plugins, and themes to construct a Property-Oriented Programming (POP) chain that achieves the desired impact (e.g., remote code execution, file write, SQL injection).
  4. Craft malicious payload: Serialize a PHP object that, when deserialized, triggers the POP chain — for example, using tools like PHPGGC to generate gadget chains targeting common WordPress libraries.
  5. Submit payload: Send the crafted serialized object to the vulnerable endpoint via an unauthenticated HTTP request (no credentials required).
  6. Achieve objective: Depending on the POP chain used, gain remote code execution, write a web shell, exfiltrate data, or perform other malicious actions on the compromised WordPress site (Patchstack).

Indicators of compromise

  • Network: Unusual HTTP POST or GET requests to plugin-specific endpoints of the Sprout Invoices plugin containing serialized PHP data (e.g., strings beginning with O:, a:, or s: in request parameters); unexpected outbound connections from the web server to external IPs.
  • Logs: WordPress or web server access logs showing repeated unauthenticated requests to Sprout Invoices plugin endpoints with anomalous parameter values; PHP error logs referencing unexpected class instantiation or deserialization errors.
  • File System: Newly created or modified PHP files in the WordPress installation directory (e.g., web shells); unexpected files in wp-content/uploads/ or plugin directories.
  • Process: Unusual child processes spawned by the web server process (e.g., php, bash, curl, wget); unexpected cron jobs or scheduled tasks added to the server.

Mitigation and workarounds

The vendor has released version 20.8.8 of the Client Invoicing by Sprout Invoices plugin, which patches this vulnerability. All users running version 20.8.7 or earlier should update immediately to 20.8.8 or later via the WordPress admin dashboard or by downloading from the WordPress plugin repository. As interim mitigations: restrict access to the WordPress admin panel, deploy WAF rules (Patchstack has issued a virtual patch/mitigation rule for its users), implement input validation and sanitization at the application layer, and monitor system logs for suspicious activity (Patchstack).

Community reactions

The vulnerability was reported through Patchstack's Active Vulnerability Disclosure Program (VDP) by researcher mcdruid and received attention from automated security feeds and community aggregators including TheHackerWire on Mastodon and CVE tracking accounts on Bluesky. Patchstack flagged it as high priority and noted that vulnerabilities of this class are commonly used in mass-exploit campaigns against WordPress sites. No major vendor statements or in-depth researcher write-ups beyond the Patchstack advisory have been identified at this time.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-15239NONEN/A
  • simple-cloudflare-turnstile
NoYesAug 07, 2026
CVE-2026-15211NONEN/A
  • subscriptions-for-woocommerce
NoYesAug 07, 2026
CVE-2026-15148NONEN/A
  • wp-events-manager
NoYesAug 07, 2026
CVE-2026-16265NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 2026
CVE-2026-16263NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management