# CVE-2021-24217: Facebook for WordPress \< 3.0.0 - PHP Object Injection with POP Chain

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-04-12 · Modified: 2024-08-03
- Record: https://cvemate.com/vulnerability/CVE-2021-24217 · JSON: https://cvemate.com/vulnerability/CVE-2021-24217/json

## Description

```text
The run_action function of the Facebook for WordPress plugin before 3.0.0 deserializes user supplied data making it possible for PHP objects to be supplied creating an Object Injection vulnerability. There was also a useable magic method in the plugin that could be used to achieve remote code execution.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.52%, percentile 89.586%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- facebook facebook: \< 3.0.0
- unknown facebook for wordpress: ≥ 3.0.0, \< 3.0.0
- wordpress official-facebook-pixel: ≤ 2.2.2 (fixed in 3.0.0)

## References

- <https://wpscan.com/vulnerability/509f2754-a1a1-4142-9126-ae023a88533a>
- <https://www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/17d4002d-3e87-46a7-9be6-c36e40c31c4a>

---

Data as of 2026-12-05T09:54:39.890Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
