Vulnerabilities / Portfolio Gallery – Image Gallery Plugin / WPSEC-2026-0628
Portfolio Gallery – Image Gallery Plugin <= 2.2.0 - Authenticated (Contributor+) Missing Authorization to Limited Attachment Deletion
Medium 4.3
CWE-862Fixed in 2.2.1
- ID
- WPSEC-2026-0628
- Plugin
- Portfolio Filter Gallery – Photo Gallery (portfolio-filter-gallery)
- Affected
- from 2.0.2 before 2.2.1
- Remediation
- Update to 2.2.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Weakness
- CWE-862
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-08
- Attack surface
- Portfolio Gallery – Image Gallery Plugin on WPSec AttackSurface
- Fix released
- Published
Description
The Portfolio Gallery – Image Gallery Plugin for WordPress is vulnerable to unauthorized attachment deletion in versions 2.0.2 up to, and including, 2.2.0 due to the pfg_delete_video_thumbnail AJAX action only checking the generic 'delete_posts' capability instead of verifying that the user may delete the specific attachment. This makes it possible for authenticated attackers, with Contributor-level access and above, to permanently delete media library attachments uploaded by other users whose file name begins with 'video-thumbnail-'.
References
- https://wpsec.com/vuln/WPSEC-2026-0628/
- https://plugins.svn.wordpress.org/portfolio-filter-gallery/tags/2.2.1/
- https://wordpress.org/plugins/portfolio-filter-gallery/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS