8.8high
Facebook for WordPress 3.0.0-3.0.3 - CSRF to Stored XSS and Settings Deletion
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.70% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Facebook for WordPress | from 3.0.0 before 3.0.0*, from 3.0.4 before 3.0.4 | CVE List |
| facebook facebook | from 3.0.0 before 3.0.4 | NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Las acciones AJAX wp_ajax_save_fbe_settings y wp_ajax_delete_fbe_settings del plugin de Facebook para WordPress versiones anteriores a 3.0.4, eran vulnerables a un ataque de tipo CSRF debido a una falta de protección nonce. La configuración de la función saveFbeSettings no tenía saneamiento, permitiendo a unas etiquetas de script sean guardadas
References
| https://www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/ | exploit, third-party-advisory | |
| https://wpscan.com/vulnerability/169d21fc-d191-46ff-82e8-9ac887aed8a4 | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24218 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24218 changed 2026-06-17 | Public domain |