{"id":"CVE-2021-24218","aliases":["CVE-2021-24218"],"related":[],"kind":"vulnerability","state":"published","title":"Facebook for WordPress 3.0.0-3.0.3 - CSRF to Stored XSS and Settings Deletion","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.&#xa0;La configuración de la función saveFbeSettings no tenía saneamiento, permitiendo a unas etiquetas de script sean guardadas","source":"nvd"}],"published":"2021-04-12T14:01:34.000Z","modified":"2026-06-17T03:39:37.213Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"type":"custom","introduced":"3.0.0","fixed":"3.0.0*","status":"affected"},{"type":"custom","introduced":"3.0.4","fixed":"3.0.4","status":"affected"}],"vendor":"Unknown","product":"Facebook for WordPress","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"3.0.4"}],"vendor":"facebook","product":"facebook","cpe":"cpe:2.3:a:facebook:facebook:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://wpscan.com/vulnerability/169d21fc-d191-46ff-82e8-9ac887aed8a4","tags":["exploit","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Chloe Chamberland"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24218","url":"https://www.cve.org/CVERecord?id=CVE-2021-24218","licence":"CVE Terms of Use","modified":"2024-08-03T19:21:18.784Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24218","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24218","licence":"Public domain","modified":"2026-06-17T03:39:37.213Z"}],"updatedAt":"2026-11-25T22:58:00.709Z","epss":{"score":0.00699,"percentile":0.54384,"date":"2026-12-01T12:00:22.000Z"}}