Skip to main content
Exploitation reportedNot in CISA KEV yetFix available

CVE-2021-24217

Exploitation reported by one source. First attested on 2021-03-25 by GCVE · previdian.

  • Published2021-04-12
  • Fixed in3.0.0
  • WeaknessCWE-502

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-03-2507:17Listed as exploited by GCVEGCVE
  2. 2021-03-2507:17Exploitation first reportedGCVE
  3. 2021-04-1214:15CVE publishedNVD

Versions per branch

NVD
Facebook
BranchAffectedFixed in
3.0< 3.0.03.0.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

  1. Update Facebook to 3.0.0

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2021-04-12
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-w6px-4fhm-xxgc

Frequently asked questions

What is CVE-2021-24217?

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.

Is CVE-2021-24217 actively exploited?

Active exploitation of CVE-2021-24217 has not been confirmed. Its EPSS score was 3.5% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-24217?

CVE-2021-24217 has a CVSS v3 base score of 8.1 (High severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record