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.
Exploitation
EPSS 0.70%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 54.4% of all scored CVEs. Scores of 2 Dec 2026.
Weakness
- CWE-352 Cross-Site Request Forgery
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Facebook for WordPress
Unknown
|
affected from 3.0.0, before 3.0.0* affected from 3.0.4, before 3.0.4
|
Is my server affected?
This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
Other references
- https://www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/ wordfence.com
Source: the record CVE-2021-24218 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse