{"id":"CVE-2021-24905","aliases":["EUVD-2021-11817","GHSA-mjq7-mv4f-72x7"],"status":"published","title":"Advanced Contact form 7 DB \u003c 1.8.7 - Subscriber+ Arbitrary File Deletion","description":"The Advanced Contact form 7 DB WordPress plugin before 1.8.7 does not have authorisation nor CSRF checks in the acf7_db_edit_scr_file_delete AJAX action, and does not validate the file to be deleted, allowing any authenticated user to delete arbitrary files on the web server. For example, removing the wp-config.php allows attackers to trigger WordPress setup again, gain administrator privileges and execute arbitrary code or display arbitrary content to the users.","severity":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.0077,"percentile":0.5606,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-284","CWE-352","CWE-863"],"published":"2022-03-21T18:55:37Z","modified":"2026-06-17T03:41:06Z","products":[{"vendor":"unknown","product":"advanced contact form 7 db"},{"vendor":"vsourz","product":"advanced_cf7_db"},{"vendor":"vsourz1td","product":"advanced contact form 7 db"}],"references":[{"url":"https://wpscan.com/vulnerability/cf022415-6614-4b95-913b-802186766ae6","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24905"},{"url":"https://github.com/advisories/GHSA-mjq7-mv4f-72x7"}],"sources":{"cve":[{"id":"CVE-2021-24905","title":"Advanced Contact form 7 DB \u003c 1.8.7 - Subscriber+ Arbitrary File Deletion","description":"The Advanced Contact form 7 DB WordPress plugin before 1.8.7 does not have authorisation nor CSRF checks in the acf7_db_edit_scr_file_delete AJAX action, and does not validate the file to be deleted, allowing any authenticated user to delete arbitrary files on the web server. For example, removing the wp-config.php allows attackers to trigger WordPress setup again, gain administrator privileges and execute arbitrary code or display arbitrary content to the users.","status":"published","published":"2022-03-21T18:55:37Z","modified":"2024-08-03T19:49:13.47Z","cwes":["CWE-863"],"updated_at":"2026-11-02T14:33:04.679189Z"}],"euvd":[{"id":"EUVD-2021-11817","description":"The Advanced Contact form 7 DB WordPress plugin before 1.8.7 does not have authorisation nor CSRF checks in the acf7_db_edit_scr_file_delete AJAX action, and does not validate the file to be deleted, allowing any authenticated user to delete arbitrary files on the web server. For example, removing the wp-config.php allows attackers to trigger WordPress setup again, gain administrator privileges and execute arbitrary code or display arbitrary content to the users.","status":"published","published":"2022-03-21T18:55:37Z","modified":"2024-08-03T19:49:13Z","updated_at":"2026-11-03T03:24:55.415131Z"}],"ghsa":[{"id":"GHSA-mjq7-mv4f-72x7","title":"The Advanced Contact form 7 DB WordPress plugin before 1.8.7 does not have authorisation nor CSRF...","description":"The Advanced Contact form 7 DB WordPress plugin before 1.8.7 does not have authorisation nor CSRF checks in the acf7_db_edit_scr_file_delete AJAX action, and does not validate the file to be deleted, allowing any authenticated user to delete arbitrary files on the web server. For example, removing the wp-config.php allows attackers to trigger WordPress setup again, gain administrator privileges and execute arbitrary code or display arbitrary content to the users.","status":"published","published":"2022-03-22T00:00:41Z","modified":"2023-01-30T05:00:27Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-284","CWE-352","CWE-863"],"updated_at":"2026-11-02T14:46:12.604648Z"}],"nvd":[{"id":"CVE-2021-24905","description":"The Advanced Contact form 7 DB WordPress plugin before 1.8.7 does not have authorisation nor CSRF checks in the acf7_db_edit_scr_file_delete AJAX action, and does not validate the file to be deleted, allowing any authenticated user to delete arbitrary files on the web server. For example, removing the wp-config.php allows attackers to trigger WordPress setup again, gain administrator privileges and execute arbitrary code or display arbitrary content to the users.","status":"published","published":"2022-03-21T19:15:08.827Z","modified":"2026-06-17T03:41:06.69Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-863","CWE-352"],"updated_at":"2026-11-02T14:07:05.581807Z"}]}}
