What’s Vulnerable › Vulnerabilities

CVE-2021-24218: Facebook for WordPress 3.0.0-3.0.3 - CSRF to Stored XSS and Settings Deletion

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 products

How to fix

Upgrade to a fixed version: Facebook for WordPress 3.0.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-24218 or the next vulnerability affects your stack