{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-24218","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.","descriptionLong":"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.","published":"2021-04-12T14:01:34.000Z","updated":"2026-06-17T03:39:37.213Z","reserved":"2021-01-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"WPScan","metric":{"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","rating":"high","source":"NVD"},"metrics":[{"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","rating":"high","source":"NVD"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Facebook for WordPress"],"affectedProducts":[{"vendor":"Unknown","product":"Facebook for WordPress","defaultStatus":null,"versions":[{"lessThan":"3.0.0*","status":"affected","version":"3.0.0","versionType":"custom"},{"lessThan":"3.0.4","status":"affected","version":"3.0.4","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-352"],"aliases":[],"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"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00699,"epssPercentile":0.53903,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-24218","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24218","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-24218","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-24218","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}