# Rate Star Review Vote <= 1.6.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'id' Shortcode Attribute

- **ID:** WPSEC-2026-2625
- **Plugin:** Rate Star Review Vote – AJAX Reviews, Votes, Star Ratings (`rate-star-review`), https://wordpress.org/plugins/rate-star-review/
- **Affected versions:** from 1.5.2 before 1.6.10
- **Fixed in:** 1.6.10 (Update to 1.6.10 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-11-05)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/rate-star-review
- **Fix released:** 2026-11-04
- **Published:** 2026-11-06
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2625/

## Description

The Rate Star Review Vote plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' attribute of the videowhisper_reviews shortcode in all versions up to, and including, 1.6.5 due to insufficient input sanitization of the attribute before it is concatenated into inline JavaScript function and variable names. esc_js() does not neutralize characters such as parentheses and semicolons in that identifier context. 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.

## References

- https://wpsec.com/vuln/WPSEC-2026-2625/
- https://plugins.svn.wordpress.org/rate-star-review/tags/1.6.10/
- https://wordpress.org/plugins/rate-star-review/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2625/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
