LiveActive security incident?Get immediate response
CVE Record

CVE-2021-4400: Better Search <= 2.5.2 - Cross-Site Request Forgery Bypass

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.

MediumCVSS 4.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-4400 affects the Better Search WordPress plugin through version 2.5.2. An attacker could trick a logged-in site administrator into triggering an unwanted settings import or export. The issue is not listed in KEV, and the provided sources do not show active exploitation.

Executive priority

Treat as a routine but real WordPress maintenance issue. It is not currently supported as actively exploited, but affected sites should be updated because successful abuse depends on administrator interaction rather than authentication.

Technical view

The vulnerability is CWE-352 CSRF caused by missing or incorrect nonce validation in bsearch_process_settings_import() and bsearch_process_settings_export(). The CVSS 3.1 score is 4.3. Exploitation requires user interaction by an administrator and can affect plugin settings integrity.

Likely exposure

Exposure is limited to WordPress sites running Better Search versions up to and including 2.5.2. Risk is higher where administrators browse email or external links while authenticated to WordPress.

Exploitation context

Sources describe unauthenticated CSRF via forged requests, but only if an administrator is tricked into an action such as clicking a link. KEV is false, and no provided source confirms active exploitation.

Researcher notes

Focus review on nonce and capability validation around the settings import and export handlers. The provided evidence identifies the vulnerable functions but does not provide a complete exploit record or explicit fixed version in the bundled data.

Mitigation direction

  • Inventory WordPress sites for the Better Search plugin and installed version.
  • Update Better Search beyond 2.5.2 if vendor guidance confirms a fixed release.
  • If no fixed release is available, consider disabling the plugin temporarily.
  • Limit WordPress administrator access to trusted users only.
  • Warn administrators against opening unsolicited links while logged in.

Validation and detection

  • Confirm whether Better Search is installed on each WordPress site.
  • Verify installed versions are not 2.5.2 or older.
  • Check plugin settings for unexpected import or export changes.
  • Review administrative activity around plugin settings changes.
  • Confirm vendor release notes or code changes add nonce validation.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-352: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-4400 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
10Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N2.81.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.3Medium
CVSS 3.1 vector shape for CVE-2021-4400Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
ajayBetter Search – Relevant search results for WordPress0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-352 · source CWE mapping

Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.