CVE-2021-24218Facebook
High 8.8 No auth needed
Follow: this CVE · Facebook · Facebook We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Apr 12, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Facebook.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
≥ 3.0.0 < 3.0.4 |
Official sources
References
Links published by the sources. Open them with care.
- wpscan.com Exploit Third Party Advisory
- www.wordfence.com Exploit Third Party Advisory