Portfolio Gallery – Image Gallery Plugin <= 2.2.0 - Authenticated (Contributor+) Missing Authorization to Media Library Image Upload

Medium 4.3 CWE-862Fixed in 2.2.1
ID
WPSEC-2026-0629
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 file upload in versions 2.0.2 up to, and including, 2.2.0 due to the pfg_upload_dropped_files AJAX action only checking the 'edit_posts' capability instead of 'upload_files'. This makes it possible for authenticated attackers, with Contributor-level access and above, to upload image files to the Media Library, which their role does not normally permit.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0