Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12705: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in widgetpack Reviews Widget for Google, Yelp & Recommendations

0
High
VulnerabilityCVE-2025-12705cvecve-2025-12705cwe-79
Published: Tue Dec 09 2025 (12/09/2025, 13:51:06 UTC)
Source: CVE Database V5
Vendor/Project: widgetpack
Product: Reviews Widget for Google, Yelp & Recommendations

Description

The Social Reviews & Recommendations plugin for WordPress is vulnerable to Stored Cross-Site Scripting via several parameters in the 'trim_text' function in all versions up to, and including, 2.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The vulnerability was partially patched in version 2.5.

AI-Powered Analysis

AILast updated: 12/09/2025, 14:05:33 UTC

Technical Analysis

CVE-2025-12705 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Social Reviews & Recommendations plugin for WordPress, specifically the widgetpack Reviews Widget that integrates Google, Yelp, and other recommendation reviews. The vulnerability stems from improper neutralization of input during web page generation, classified under CWE-79. The root cause lies in insufficient input sanitization and output escaping within the 'trim_text' function, which processes user-supplied parameters. This flaw allows unauthenticated attackers to inject arbitrary JavaScript code into pages that display user reviews. When legitimate users access these pages, the malicious scripts execute in their browsers, potentially leading to session hijacking, credential theft, or redirection to malicious sites. The vulnerability affects all plugin versions up to and including 2.5, with a partial patch applied in version 2.5, indicating that earlier versions remain fully vulnerable. The CVSS 3.1 base score is 7.2, reflecting a high severity due to network attack vector, no required privileges or user interaction, and a scope change impacting confidentiality and integrity. No known exploits are currently reported in the wild, but the ease of exploitation and impact make it a significant risk. The plugin is widely used on WordPress sites to display aggregated reviews, making many websites potential targets. The vulnerability's exploitation can compromise the trustworthiness of review content and the security of site visitors.

Potential Impact

For European organizations, this vulnerability poses a significant risk to the confidentiality and integrity of user data and website content. Organizations relying on the affected plugin to display customer reviews on their websites may face session hijacking, theft of authentication tokens, or redirection of users to malicious sites, damaging brand reputation and customer trust. The vulnerability can also facilitate further attacks such as phishing or malware distribution. E-commerce platforms, service providers, and businesses that heavily depend on online reviews for customer engagement are particularly vulnerable. Additionally, regulatory compliance risks arise under GDPR if personal data is compromised due to exploitation. The availability impact is minimal, but the breach of confidentiality and integrity can have severe operational and financial consequences. The fact that exploitation requires no authentication or user interaction increases the threat level, making automated attacks feasible. The partial patch in version 2.5 means organizations running older versions remain exposed, and incomplete remediation may still leave residual risks.

Mitigation Recommendations

1. Immediately update the Social Reviews & Recommendations plugin to the latest version beyond 2.5 that fully addresses the vulnerability. 2. If an update is not immediately possible, apply manual input validation and output encoding on all user-supplied data processed by the 'trim_text' function or equivalent areas. 3. Employ Web Application Firewalls (WAFs) with rules designed to detect and block common XSS payloads targeting this plugin. 4. Conduct thorough code reviews and penetration testing focusing on user input handling in review widgets. 5. Monitor web server logs and user reports for signs of suspicious script injections or anomalous behavior. 6. Educate web administrators and developers about secure coding practices, especially regarding input sanitization and output escaping. 7. Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on affected web pages. 8. Regularly audit all third-party plugins and dependencies for vulnerabilities and timely patching. 9. Consider isolating or disabling the vulnerable widget temporarily if immediate patching is not feasible. 10. Maintain backups and incident response plans to quickly recover from potential exploitation.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-11-04T19:08:58.053Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69382bbdabbdc4595cd8b6cc

Added to database: 12/9/2025, 2:01:33 PM

Last enriched: 12/9/2025, 2:05:33 PM

Last updated: 12/11/2025, 5:41:07 AM

Views: 37

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats