# WP Review Slider <= 15.5 - Authenticated (Subscriber+) Arbitrary File Read via Avatar Caching

- **ID:** WPSEC-2026-3942
- **Plugin:** WP Review Slider (`wp-facebook-reviews`), https://wordpress.org/plugins/wp-facebook-reviews/
- **Affected versions:** all versions before 15.6
- **Fixed in:** 15.6 (Update to 15.6 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-73
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-facebook-reviews
- **Fix released:** 2026-11-24
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3942/

## Description

The WP Review Slider plugin for WordPress is vulnerable to Arbitrary File Read via the wpfb_avatar_tolocal AJAX action in all versions up to, and including, 15.5. The cause is a missing capability check on the avatar caching and X post save handlers, which verified only a generic 'randomnoncestring' nonce, together with missing validation of the stored avatar location. In versions up to 13.9 the plugin printed this nonce on every front-end page itself; from 14.0 it is exposed to logged-in users when another plugin prints a nonce for the same action, as the same vendor's WP Google Review Slider does on every front-end page. The 'tw_img' value saved through the X post save handler was later passed to copy() and cURL without restricting it to http(s) URLs, and the reviewer ID was used unsanitized in the file name. This makes it possible for authenticated attackers, with Subscriber-level access and above, to copy arbitrary server files such as wp-config.php into the publicly accessible uploads folder and read them, and to make the server issue requests to arbitrary locations.

## References

- https://wpsec.com/vuln/WPSEC-2026-3942/
- https://plugins.svn.wordpress.org/wp-facebook-reviews/tags/15.6/
- https://wordpress.org/plugins/wp-facebook-reviews/

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

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.
