CVE-2025-8280
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-8280 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Contact Form 7 reCAPTCHA WordPress plugin (versions through 1.2.0). The plugin fails to escape the $_SERVER['REQUEST_URI'] parameter before outputting it back in an HTML attribute, enabling injection of malicious scripts. It was publicly disclosed on 2025-08-22 by researcher Bob Matyas and assigned a CVSS v3.1 base score of 5.8 (Medium) (WPScan, Red Hat CVE).

Technical details

The root cause is improper neutralization of input during web page generation (CWE-79). The plugin reflects the raw $_SERVER['REQUEST_URI'] value directly into an HTML attribute without sanitization or escaping, allowing an attacker to inject arbitrary HTML/JavaScript via a crafted URL. Exploitation is limited to older web browsers that do not apply modern XSS filtering, and requires user interaction (victim must click a malicious link). A proof-of-concept URL is publicly available: https://example.com/wp-admin/admin.php?page=wpcf7_recaptcha_settings&cows=2">alert(5) (WPScan).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the victim's browser session, potentially leading to session cookie theft, credential harvesting, malware distribution, or other client-side attacks. The vulnerability has a changed scope, meaning the injected script can affect resources beyond the vulnerable component itself. Confidentiality, integrity, and availability impacts are each rated low, reflecting the constrained nature of the attack (WPScan, Red Hat CVE).

Exploitability

A proof-of-concept exploit is publicly available via WPScan, but there is no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.018%, indicating a very low probability of exploitation in the near term. No threat actor attribution or CISA KEV catalog listing has been identified for this CVE (WPScan, Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Contact Form 7 reCAPTCHA plugin (version ≤ 1.2.0) by scanning for the plugin's presence via common WordPress enumeration techniques (e.g., checking /wp-content/plugins/contact-form-7-recaptcha/).
  2. Craft malicious URL: Construct a URL targeting the vulnerable admin page with an XSS payload injected into the query string, e.g., https://target.com/wp-admin/admin.php?page=wpcf7_recaptcha_settings&cows=2">alert(document.cookie).
  3. Social engineering: Deliver the crafted URL to a victim (e.g., a logged-in WordPress administrator) via phishing email, forum post, or other means, as user interaction is required.
  4. Payload execution: When the victim clicks the link and loads the page in an older browser lacking XSS filtering, the unescaped REQUEST_URI is rendered in the HTML attribute, causing the injected script to execute in the victim's browser context.
  5. Post-exploitation: Leverage the executed script to steal session cookies, perform actions on behalf of the victim, or redirect to a malicious site (WPScan).

Indicators of compromise

  • Network: HTTP requests to /wp-admin/admin.php?page=wpcf7_recaptcha_settings containing unusual characters such as ", >, <script>, or URL-encoded equivalents (%22, %3E, %3C) in query parameters.
  • Logs: WordPress or web server access logs showing GET requests to the admin page with injected payloads in the query string (e.g., alert(, document.cookie, <script>).
  • Browser/Client: Unexpected JavaScript alert dialogs or redirects when accessing the plugin's settings page; anomalous outbound requests from the victim's browser to attacker-controlled domains following page load.

Mitigation and workarounds

As of the disclosure date (2025-08-22), no patched version of the Contact Form 7 reCAPTCHA plugin is available (no known fix). Administrators should disable or remove the plugin if it is not actively required. Implementing Content Security Policy (CSP) headers can reduce XSS risk as a compensating control, and users should be encouraged to use modern browsers with built-in XSS protections. Monitor the plugin's WordPress repository for an updated release and apply it promptly when available (WPScan, Red Hat CVE).

Community reactions

The vulnerability was discovered and submitted by independent researcher Bob Matyas, who also maintains a personal website. Wordfence referenced this vulnerability in their weekly WordPress vulnerability report for the week of August 18–24, 2025. No significant vendor statements or broader media coverage have been identified beyond standard vulnerability database listings (Wordfence Blog).

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-19089NONEN/A
  • product-input-fields-for-woocommerce
NoYesAug 10, 2026
CVE-2026-19077NONEN/A
  • copy-delete-posts
NoYesAug 10, 2026
CVE-2026-19075NONEN/A
  • all-in-one-video-gallery
NoYesAug 10, 2026
CVE-2026-19074NONEN/A
  • advanced-classifieds-and-directory-pro
NoYesAug 10, 2026
CVE-2026-19053NONEN/A
  • prosolution-wp-client
NoYesAug 10, 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