CVE-2021-24218: facebook Cross-Site Request Forgery (CSRF)
Vulnerability summary
CVE-2021-24218 is a high (CVSS 8.8) Cross-Site Request Forgery (CSRF) vulnerability in facebook. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 52.3% of scored vulnerabilities. 2 public exploits are recorded. Fixed in 3.0.4.
Timeline
- 12-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 2 sources · 2 versions- wordfenceSource8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.70%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
0.00 pp
From 0.70% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (wordfence.com)
Maturity: unknown
Exploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Facebook1 product
- facebook≥ 3.0.0, < 3.0.4
Unknown1 product
- facebook for wordpress≥ 3.0.0, < 3.0.0* | ≥ 3.0.4, < 3.0.4
Wordpress1 product
- official-facebook-pixel≥ 3.0.0, < 3.0.4
3 vendors · 3 products
References
3 links- www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/X Refsource MISCExploitThird Party Advisory
- wpscan.com/vulnerability/169d21fc-d191-46ff-82e8-9ac887aed8a4X Refsource CONFIRMExploitThird Party Advisory