CVE-2022-40223
WordPress vulnerability analysis and mitigation

Overview

CVE-2022-40223 is a vulnerability discovered in the SearchWP WordPress premium plugin versions 4.2.5 and below. The vulnerability involves nonce token leakage and missing authorization, which could allow authenticated users with subscriber-level access to modify plugin settings. The issue was discovered by Dave Jong and was fixed in version 4.2.6, released in October 2022 (Patchstack, WPScan).

Technical details

The vulnerability is classified as a Broken Access Control issue (CWE-862) with a CVSS score of 5.4 (High). The core issue stems from the plugin's lack of proper authorization checks when updating its settings, which could allow any authenticated user, including those with minimal privileges such as subscribers, to modify the plugin's configuration (Patchstack).

Impact

If exploited, this vulnerability could allow authenticated users with subscriber-level access to perform actions that should only be executable by higher-privileged users. These actions could potentially enable malicious actors to gain administrative access to the website or modify critical search functionality settings (Patchstack).

Mitigation and workarounds

The recommended mitigation is to update the SearchWP plugin to version 4.2.6 or later, which contains the security fix. For sites unable to update immediately, Patchstack issued a virtual patch to mitigate this issue by blocking potential attacks until the update could be applied (Patchstack, SearchWP Changelog).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12966HIGH8.8
  • all-in-one-video-gallery
NoYesDec 06, 2025
CVE-2025-13907MEDIUM6.4
  • css3-buttons
NoNoDec 06, 2025
CVE-2025-13899MEDIUM6.4
  • tr-timthumb
NoNoDec 06, 2025
CVE-2025-13898MEDIUM6.4
  • ultra-skype-button
NoNoDec 06, 2025
CVE-2025-13896MEDIUM6.4
  • social-feed-gallery-portfolio
NoNoDec 06, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management