CSRF in Facebook
CVE-2021-24218
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 53.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Facebook For WordPress — versions 3.0.0, 3.0.4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (20142995/nuclei-templates). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-word… (Exploit, Third Party Advisory)
- wpscan.com/vulnerability/169d21fc-d191-46ff-82e8-9ac887aed8a4 (Exploit, Third Party Advisory)