Vulnerability record · CVE-2021-24218 · published 12 April 2021
CVE-2021-24218: Facebook cross-site request forgery vulnerability
Facebook · Facebook
The wp_ajax_save_fbe_settings and wp_ajax_delete_fbe_settings AJAX actions of the Facebook for WordPress plugin before 3.0.4 were vulnerable to CSRF due to a lack of nonce protection. The settings in the saveFbeSettings function had no sanitization allowing for script tags to be saved.
Description
The wp_ajax_save_fbe_settings and wp_ajax_delete_fbe_settings AJAX actions of the Facebook for WordPress plugin before 3.0.4 were vulnerable to CSRF due to a lack of nonce protection. The settings in the saveFbeSettings function had no sanitization allowing for script tags to be saved.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://wpscan.com/vulnerability/169d21fc-d191-46ff-82e8-9ac887aed8a4 | ExploitThird Party Advisory |
| https://www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/ | ExploitThird Party Advisory |
| https://wpscan.com/vulnerability/169d21fc-d191-46ff-82e8-9ac887aed8a4 | ExploitThird Party Advisory |
| https://www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/ | ExploitThird Party Advisory |
Track CVE-2021-24218 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-24218), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.