CVE-2021-24218
HIGH
8.8
CVSS 3.1
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.
Affected WordPress components
-
facebook Plugin · facebookFrom 3.0.0 (including) to 3.0.4 (excluding)View on WordPress.org
-
Meta pixel for WordPress Plugin · official-facebook-pixelFrom 3.0.0 (including) to 3.0.0* (excluding); From 3.0.4 (including) to 3.0.4 (excluding)View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Unknown Facebook for WordPress — From 3.0.0 (including) to 3.0.0* (excluding)
- Unknown Facebook for WordPress — From 3.0.4 (including) to 3.0.4 (excluding)
- facebook facebook — From 3.0.0 (including) to 3.0.4 (excluding)
References
- wpscan.com https://wpscan.com/vulnerability/169d21fc-d191-46ff-82e8-9ac887aed8a4 Exploit, Third Party Advisory
- www.wordfence.com https://www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/ Exploit, Third Party Advisory
- nvd.nist.gov Official NVD record