{"schemaVersion":3,"id":"CVE-2021-24217","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-04-12T14:01:19.000Z","modified":"2024-08-03T19:21:18.798Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0352,"percentile":0.89094,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0352},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0352,"percentile":0.89094}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0352,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0352,"percentile":0.89094}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_EAACCB3832E2B0E4","name":"Exploit Reference (wpscan.com)","source":"reference","url":"https://wpscan.com/vulnerability/509f2754-a1a1-4142-9126-ae023a88533a","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_99FD9773AC2F85AC","name":"Exploit Reference (wordfence.com)","source":"reference","url":"https://www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"facebook","product":"facebook","name":"facebook","label":"facebook","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.0","eol":null,"hubHref":"/vendor/facebook/facebook"},{"vendor":"unknown","product":"facebook for wordpress","name":"Facebook for WordPress","label":"facebook for wordpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < 3.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.0.0","eol":null,"hubHref":"/vendor/unknown/facebook_for_wordpress"},{"vendor":"wordpress","product":"official-facebook-pixel","name":"Meta pixel for WordPress","label":"official-facebook-pixel","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.2.2 (fixed in 3.0.0)","noFixRecorded":false,"fixedIn":"3.0.0"}],"versionsText":"≤ 2.2.2 (fixed in 3.0.0)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/509f2754-a1a1-4142-9126-ae023a88533a","label":"wpscan.com/vulnerability/509f2754-a1a1-4142-9126-ae023a88533a","hostname":"wpscan.com","tags":["X Refsource CONFIRM","Exploit","Third Party Advisory"]},{"url":"https://www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/","label":"www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/","hostname":"www.wordfence.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/17d4002d-3e87-46a7-9be6-c36e40c31c4a","label":"www.wordfence.com/threat-intel/vulnerabilities/id/17d4002d-3e87-46a7-9be6-c36e40c31c4a","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-04-12T14:01:19.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T19:21:18.798Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:47:28.648Z","stale":false,"partial":false}}