{"id":"CVE-2021-4400","aliases":["CVE-2021-4400"],"related":[],"kind":"vulnerability","state":"published","title":"Better Search <= 2.5.2 - Cross-Site Request Forgery Bypass","summary":"The Better Search plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.5.2. This is due to missing or incorrect nonce validation on the bsearch_process_settings_import() and bsearch_process_settings_export() functions. This makes it possible for unauthenticated attackers to import and export settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Better Search plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.5.2. This is due to missing or incorrect nonce validation on the bsearch_process_settings_import() and bsearch_process_settings_export() functions. This makes it possible for unauthenticated attackers to import and export settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.","source":"cvelist"},{"lang":"es","text":"El plugin Better Search para WordPress es vulnerable a ataques de tipo Cross-Site Request Forgery (CSRF) en versiones hasta la 2.5.2 inclusive. Esto se debe a la falta o incorrecta validación nonce en las funciones \"bsearch_process_settings_import()\" y \"bsearch_process_settings_export()\". Esto hace posible que atacantes no autenticados importen y exporten configuraciones a través de una solicitud manipulada concedida y puedan engañar a un administrador del sitio para que realice una acción como hacer clic en un enlace.","source":"nvd"}],"published":"2023-07-01T05:33:27.028Z","modified":"2026-06-17T04:19:40.807Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.5.2","status":"affected"}],"vendor":"ajay","product":"Better Search – Relevant search results for WordPress","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.5.2"}],"vendor":"webberzone","product":"better_search","cpe":"cpe:2.3:a:webberzone:better_search:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/7acbcf74-2bae-412b-bf9d-70287a91deea?source=cve","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/25-wordpress-plugins-vulnerable-to-csrf-attacks/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/more-wordpress-plugins-and-themes-vulnerable-to-csrf-attacks/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-3/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-2/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-1/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-5/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-4/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2473344%40better-search&new=2473344%40better-search&sfp_email=&sfph_mail=","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Jerome Bruandet"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-28T14:09:29.022Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-4400","url":"https://www.cve.org/CVERecord?id=CVE-2021-4400","licence":"CVE Terms of Use","modified":"2026-04-08T17:02:24.574Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-4400","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4400","licence":"Public domain","modified":"2026-06-17T04:19:40.807Z"}],"updatedAt":"2026-11-25T22:24:37.196Z","epss":{"score":0.0039,"percentile":0.3526,"date":"2026-12-01T12:00:22.000Z"}}