CVE-2025-13543 PostGallery <= 1.12.5 - Authenticated (Subscriber+) Arbitrary File Upload
Authenticated subscribers can upload arbitrary files via PostGallery plugin, potentially leading to remote code execution on the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-13543?
CVE-2025-13543 is a high-severity vulnerability in rtowebsites PostGallery, published on 4 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-434
Which versions are affected by CVE-2025-13543?
How do I fix CVE-2025-13543?
No fix has been published for CVE-2025-13543 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-13543 being exploited?
There is no known exploitation of CVE-2025-13543 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Sources
Also known as GHSA-c87j-2j6h-48gh.