What the vulnerability does
01Description
The PostGallery plugin for WordPress is vulnerable to arbitrary file uploads due to incorrect file type validation in the 'PostGalleryUploader' class functions in all versions up to, and including, 1.12.5. This makes it possible for authenticated attackers, with subscriber-level and above permissions, to upload arbitrary files on the affected site's server which may make remote code execution possible.
Explanation of Vulnerability in Simple Terms
02Summary
PostGallery versions 1.12.5 and earlier allow authenticated users to upload files without proper validation. An attacker with low-level site access can upload malicious files, potentially gaining control of the site. The vulnerability requires a valid user account but no special privileges.
What an attacker can do
03Attacker Capabilities
Upload malicious files to the site and execute code on the server.
Potential impact on your site
04Site Impact
Compromised site with potential data theft, malware injection, or complete takeover if an attacker gains upload access.
Conditions required to exploit
05Prerequisites
Attacker must have a valid user account with low-level permissions on the site.
Key dates
06Disclosure timeline
December 4, 2025
CVE published
April 8, 2026
Record updated