WordPress Plugin Vulnerabilities

WP STAGING < 4.18.0 and WP STAGING Pro < 6.18.0 - Subscriber+ PHP Object Injection via Database Restore and Staging Reset

Description

The plugins are vulnerable to PHP Object Injection via deserialization of untrusted input during database restore and staging reset. This is due to the database importer treating attacker-controlled text beginning with {WPSTG_BINARY} as trusted internal binary data and decoding its hexadecimal suffix into serialized bytes. This makes it possible for authenticated attackers, with Subscriber-level access and above, to plant a malicious serialized object in their own profile. When an Administrator later performs an ordinary database-including restore or staging reset containing that value, and the restored profile metadata is loaded, either during the restore or in a later request, a built-in POP chain can be used to execute arbitrary code on the server. Additional built-in gadget chains allow arbitrary local file read in both WP STAGING and WP STAGING Pro and arbitrary file deletion in WP STAGING Pro. The attacker does not require Administrator credentials or a copy of a backup, but exploitation does require the later privileged restore or reset.

Affects Plugins

Fixed in 4.18.0
Fixed in 6.18.0

References

Classification

Type
OBJECT INJECTION
CWE
CVSS

Miscellaneous

Original Researcher
Alex Thomas, Wordfence Argus
Verified
No

Timeline

Publicly Published
2026-11-18 (about 6 days ago)
Added
2026-11-19 (about 5 days ago)
Last Updated
2026-11-19 (about 5 days ago)

Other