What the vulnerability does
01Description
The Reviews Widgets for Google, Yelp & TripAdvisor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'page_id' shortcode attribute of the [fbrev] shortcode in versions up to and including 2.7.3. This is due to insufficient input sanitization and output escaping in the Feed_Shortcode::fbrev() method, which passes the raw shortcode attribute through Feed_Old::get_feed() into the View::render() method, where it is echoed directly into the data-id HTML attribute without esc_attr(). 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.
Explanation of Vulnerability in Simple Terms
02Summary
The Reviews Widgets plugin for Google, TripAdvisor, Yelp & Recommendations contains a cross-site scripting (XSS) vulnerability in versions up to 2.7.3. An authenticated user with low privileges can inject malicious scripts that execute in other users' browsers, potentially affecting site visitors and administrators. The vulnerability has scope change, meaning the impact extends beyond the vulnerable component itself.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers, potentially stealing session tokens or performing actions on their behalf.
Potential impact on your site
04Site Impact
Site visitors and administrators could have their sessions compromised or be redirected to malicious content without their knowledge.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege account on the site (e.g., subscriber or contributor role). No user interaction required.
Key dates
06Disclosure timeline
July 6, 2026
CVE published