# All-in-One Video Gallery <= 5.0.0 - Unauthenticated Insecure Direct Object Reference to Like/Dislike Modification via 'user_id' Parameter

- **ID:** WPSEC-2026-2445
- **Plugin:** All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos (`all-in-one-video-gallery`), https://wordpress.org/plugins/all-in-one-video-gallery/
- **Affected versions:** from 3.6.2 before 5.1.0
- **Fixed in:** 5.1.0 (Update to 5.1.0 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-04)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/all-in-one-video-gallery
- **Fix released:** 2026-11-03
- **Published:** 2026-11-04
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2445/

## Description

The All-in-One Video Gallery plugin for WordPress is vulnerable to Insecure Direct Object Reference via the 'aiovg_toggle_likes' and 'aiovg_toggle_dislikes' AJAX actions in all versions up to, and including, 5.0.0, due to the handlers trusting a user-controlled 'user_id' parameter instead of the current user and not checking that the visitor can view the target post. This makes it possible for unauthenticated attackers to add or remove likes and dislikes on behalf of any user, bypass the 'login required to vote' setting, and change like and dislike counts on any post, including private and draft videos.

## References

- https://wpsec.com/vuln/WPSEC-2026-2445/
- https://plugins.svn.wordpress.org/all-in-one-video-gallery/tags/5.1.0/
- https://wordpress.org/plugins/all-in-one-video-gallery/

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

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.
