{"id":"CVE-2021-24218","aliases":["EUVD-2021-11132","GHSA-28p8-w9v3-x57w"],"status":"published","title":"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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00699,"percentile":0.53616,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-352"],"published":"2021-04-12T14:01:34Z","modified":"2026-06-17T03:39:37Z","products":[{"vendor":"facebook","product":"facebook"},{"vendor":"unknown","product":"facebook for wordpress"}],"references":[{"url":"https://www.wordfence.com/blog/2021/03/two-vulnerabilities-patched-in-facebook-for-wordpress-plugin/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://wpscan.com/vulnerability/169d21fc-d191-46ff-82e8-9ac887aed8a4","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24218"},{"url":"https://github.com/advisories/GHSA-28p8-w9v3-x57w"}],"sources":{"cve":[{"id":"CVE-2021-24218","title":"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.","status":"published","published":"2021-04-12T14:01:34Z","modified":"2024-08-03T19:21:18.784Z","cwes":["CWE-352"],"updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2021-11132","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.","status":"published","published":"2021-04-12T14:01:34Z","modified":"2024-08-03T19:21:18Z","updated_at":"2026-11-03T03:24:59.071017Z"}],"ghsa":[{"id":"GHSA-28p8-w9v3-x57w","title":"The wp_ajax_save_fbe_settings and wp_ajax_delete_fbe_settings AJAX actions of the Facebook for...","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.","status":"published","published":"2022-05-24T17:47:07Z","modified":"2023-01-29T05:06:20Z","cwes":["CWE-352"],"updated_at":"2026-11-02T14:46:00.036476Z"}],"nvd":[{"id":"CVE-2021-24218","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.","status":"published","published":"2021-04-12T14:15:15.337Z","modified":"2026-06-17T03:39:37.213Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:06:51.610648Z"}]}}
