Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2025-28928

CVE-2025-28928: WordPress Are You Robot reCAPTCHA XSS Flaw

CVE-2025-28928 is a reflected cross-site scripting vulnerability in the Are You Robot Google reCAPTCHA WordPress plugin that enables attackers to inject malicious scripts. This article covers affected versions, impact, and mitigation.

Updated:

CVE-2025-28928 Overview

CVE-2025-28928 is a reflected cross-site scripting (XSS) vulnerability in the Are you robot google recaptcha for wordpress plugin by sureshdsk. The flaw stems from improper neutralization of user input during web page generation, classified under [CWE-79]. All plugin versions through 2.2 are affected. An attacker can craft a malicious URL that, when clicked by an authenticated user, executes arbitrary JavaScript in the victim's browser session. The vulnerability requires user interaction and has a changed scope, allowing impact beyond the vulnerable component.

Critical Impact

Successful exploitation enables session hijacking, credential theft, and unauthorized actions performed in the context of the victim's WordPress session.

Affected Products

  • sureshdsk Are you robot google recaptcha for wordpress plugin versions up to and including 2.2
  • WordPress installations using the are-you-robot-recaptcha plugin
  • All sites where unauthenticated attackers can deliver crafted URLs to authenticated users

Discovery Timeline

  • 2025-03-26 - CVE-2025-28928 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-28928

Vulnerability Analysis

The vulnerability is a reflected cross-site scripting flaw in the are-you-robot-recaptcha WordPress plugin. User-supplied input is reflected back into the HTTP response without proper output encoding or sanitization. When an attacker injects JavaScript payloads into a vulnerable parameter, the plugin renders the payload directly within the generated HTML. The browser then executes the script under the origin of the affected WordPress site.

The CVSS vector indicates a changed scope, meaning the script can affect resources beyond the vulnerable plugin context. This is typical of reflected XSS in WordPress plugins where the payload executes in the broader admin or front-end DOM. Impact spans confidentiality, integrity, and availability at low severity per component.

Root Cause

The plugin fails to apply WordPress sanitization functions such as esc_html(), esc_attr(), or wp_kses() to user-controllable input before reflecting it into HTML output. Input handlers accept query parameters or form fields and concatenate them into rendered pages without validation. This is a classic [CWE-79] pattern where developer-managed escaping is missing at the output boundary.

Attack Vector

The attack is network-based and requires user interaction. An attacker crafts a URL containing a malicious JavaScript payload in a vulnerable parameter handled by the plugin. The attacker delivers the URL through phishing, social engineering, or a malicious referrer. When a logged-in WordPress user visits the URL, the payload executes in their browser. The attacker can then exfiltrate cookies, perform actions on behalf of the user, or pivot to administrative functionality.

No verified proof-of-concept code is publicly available. See the Patchstack XSS Vulnerability Report for additional technical context.

Detection Methods for CVE-2025-28928

Indicators of Compromise

  • HTTP request logs containing <script>, javascript:, or encoded payload variants in query parameters targeting plugin endpoints
  • Unexpected outbound requests from administrative browser sessions to attacker-controlled domains
  • Anomalous WordPress admin actions originating from legitimate user sessions shortly after URL clicks
  • Referrer headers from unfamiliar external domains preceding plugin endpoint requests

Detection Strategies

  • Inspect web server access logs for requests to the are-you-robot-recaptcha plugin paths containing reflected payload patterns such as %3Cscript%3E or onerror=
  • Deploy a Web Application Firewall (WAF) rule that flags XSS payload signatures against WordPress plugin URLs
  • Correlate authenticated user session activity with unusual DOM-based events through browser telemetry

Monitoring Recommendations

  • Enable WordPress audit logging for plugin-level requests and administrative actions
  • Forward web server and WAF logs to a centralized SIEM for retrospective hunting against XSS payload patterns
  • Alert on outbound requests from WordPress admin sessions to non-allowlisted domains

How to Mitigate CVE-2025-28928

Immediate Actions Required

  • Deactivate the are-you-robot-recaptcha plugin until a patched version is confirmed by the vendor
  • Replace the plugin with a maintained alternative reCAPTCHA integration if no patch is forthcoming
  • Audit recent administrative activity for evidence of session abuse or unauthorized changes
  • Force password resets and session invalidation for users who may have visited untrusted links

Patch Information

At the time of publication, no fixed version beyond 2.2 has been confirmed in available references. Monitor the Patchstack XSS Vulnerability Report and the WordPress plugin repository for an updated release addressing CVE-2025-28928.

Workarounds

  • Apply WAF rules to block requests containing XSS payload signatures targeting plugin endpoints
  • Restrict plugin endpoint access by IP allowlist where operationally feasible
  • Enforce a strict Content Security Policy (CSP) that disallows inline scripts and untrusted script sources
  • Educate administrators to avoid clicking unsolicited links to the WordPress site from untrusted sources
bash
# Example Content Security Policy header to mitigate reflected XSS
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.