Posts

Showing posts with the label WordPress

safeUnserialize Was Never Safe

Image
There's a special place in plugin development for function names that get things wrong in a way that becomes the whole story. GiveWP, the WordPress donation plugin with more than 100,000 active installs, shipped a helper called safeUnserialize() that, as it turns out, was neither safe nor the end of the attack chain. CVE-2026-82222 is a CVSS 10.0 unauthenticated remote code execution flaw, and per the Patchstack writeup, the winning move is a chain of three individually boring-sounding pieces: that broken "safe" unserializer, a donation-processing flow that happily stores attacker-controlled serialized objects in the site's database, and a gadget chain in the libraries GiveWP bundles that can turn those stored objects into arbitrary system commands. On versions 4.16.5.1 and earlier, all an attacker needed was a default install with one published donation form and one active payment gateway. The fix, version 4.16.7.2, landed last Thursday — after Patchstack rejected s...