
A security-hardened fork of the abandoned "PostGallery" WordPress plugin. Fixes critical Arbitrary File Upload (CVE-2025-13543) and Guest Access vulnerabilities.
Contributors: SudoWP, WP Republic
Original Authors: RTO GmbH
Tags: gallery, security, patched, cve-2025-13543
Requires at least: 5.8
Tested up to: 6.7
Stable tag: 1.12.6
License: GPLv2 or later
This is a security-hardened fork of the abandoned "PostGallery" plugin. The original plugin was closed on WordPress.org on Dec 2, 2025, due to severe security vulnerabilities.
Original Plugin Link: https://wordpress.org/plugins/postgallery/
SudoWP PostGallery restores the functionality of the popular PostGallery plugin while fixing critical security flaws that left sites vulnerable to hacking.
We have conducted a full code audit and applied the following fixes:
Arbitrary File Upload Fix (CVE-2025-13543):
jpg, jpeg, png, gif, and webp.finfo_file to prevent extension spoofing (e.g., uploading a .php file renamed to .jpg).Access Control Hardening:
nopriv hooks) to access the upload handler. These hooks have been removed.current_user_can('upload_files') to all sensitive AJAX actions (delete, rename, rotate, save_meta).Input Sanitization:
sanitize_file_name() on all file inputs.sudowp-postgallery folder to your /wp-content/plugins/ directory.Maintained by the SudoWP Security Project.