Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2026-4121
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-4121 is a Cross-Site Request Forgery (CSRF) vulnerability in the Kcaptcha plugin for WordPress, affecting all versions up to and including 1.0.1. The flaw allows unauthenticated attackers to modify the plugin's CAPTCHA settings by tricking a site administrator into clicking a malicious link. It was published on April 22, 2026, by Wordfence, and assigned a CVSS v3.1 base score of 4.3 (Medium) (GitHub Advisory, Wordfence).

Technical details

The root cause is missing nonce validation in the plugin's settings page handler (admin/setting.php), classified as CWE-352 (Cross-Site Request Forgery). Specifically, the settings form omits wp_nonce_field(), and the form processing code never calls wp_verify_nonce() or check_admin_referer() before persisting changes to the database via $wpdb->update(). An attacker can craft a forged HTTP POST request targeting the settings endpoint and deliver it to an authenticated administrator via a malicious link or page, causing the administrator's browser to submit the request with valid session credentials (GitHub Advisory, Wordfence).

Impact

Successful exploitation allows an attacker to enable or disable CAPTCHA protection on WordPress login, registration, lost password, and comment forms without any privileges. Disabling CAPTCHA on these forms could expose the site to automated brute-force login attacks, spam registrations, and comment spam, degrading the site's security posture. There is no direct confidentiality or availability impact, but the integrity of the site's security configuration is compromised (GitHub Advisory, Wordfence).

Exploitability

There is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Wordfence). The EPSS score is approximately 0.006–0.007%, placing it in the 1st percentile for exploitation likelihood within the next 30 days (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no threat actor attribution has been reported.

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Kcaptcha plugin (version ≤ 1.0.1) by inspecting page source for plugin references or using tools like WPScan.
  2. Craft forged request: Construct a malicious HTML form or URL that submits a POST request to the target site's Kcaptcha settings endpoint (e.g., wp-admin/admin.php?page=kcaptcha-settings) with desired parameter values (e.g., disabling CAPTCHA on login forms).
  3. Deliver to administrator: Embed the forged request in a malicious webpage, email, or link and trick a logged-in WordPress administrator into visiting it (e.g., via phishing or a comment on a forum).
  4. Settings modified: The administrator's browser automatically submits the forged request with valid session cookies; since no nonce is validated, the plugin saves the attacker-controlled settings to the database via $wpdb->update(), disabling CAPTCHA protections (GitHub Advisory, Wordfence).

Indicators of compromise

  • Logs: WordPress admin audit logs or server access logs showing unexpected POST requests to the Kcaptcha settings page (wp-admin/admin.php?page=kcaptcha-settings) from unusual referrers or external origins.
  • Database: Unexpected changes to Kcaptcha plugin settings in the WordPress database (e.g., wp_options or plugin-specific table entries) reflecting CAPTCHA being disabled on login, registration, or comment forms.
  • Behavior: Sudden increase in automated login attempts, spam registrations, or comment spam following a settings change, which may indicate CAPTCHA was disabled via CSRF exploitation.

Mitigation and workarounds

Update the Kcaptcha plugin to a version beyond 1.0.1 that includes proper nonce validation (i.e., wp_nonce_field() in the form and check_admin_referer() in the handler). A patch was made available on April 22, 2026 — refer to the GitHub Advisory (GHSA-j4g7-gjv8-gvjh) for patch details (GitHub Advisory). As interim measures, administrators should avoid clicking unsolicited links while logged into WordPress, implement a web application firewall (WAF) with CSRF protection rules, and review admin access logs for unexpected settings changes (Wordfence).

Community reactions

The vulnerability was reported by Wordfence and published to the GitHub Advisory Database on April 22, 2026. No significant broader media coverage, notable researcher commentary, or community discussion beyond standard vulnerability tracking has been observed for this moderate-severity issue.

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-2026-92541HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-92540HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-86785MEDIUM5.3
  • woo-to-facebook-shop
NoNoSep 20, 2026
CVE-2026-92965LOW3.7
  • tiktok-for-business
NoYesSep 20, 2026
CVE-2026-92423LOW2.7
  • meow-gallery
NoYesSep 20, 2026

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