CVE-2021-24218: Facebook for WordPress 3.0.0-3.0.3 - CSRF to Stored XSS and Settings Deletion
Vulnerability summary
CVE-2021-24218 is a high (CVSS 8.8) Cross-Site Request Forgery vulnerability in facebook. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 54.5% of scored vulnerabilities. 2 public exploits are recorded. Fixed in 3.0.4.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?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
55%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.70% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (wordfence.com)
Maturity: unknown
Exploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
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