CVE-2025-13543

PostGallery <= 1.12.5 - Authenticated (Subscriber+) Arbitrary File Upload

Published Dec 4, 2025 CVSS 3.1 · 8.8 High EPSS 1.0% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The PostGallery plugin for WordPress is vulnerable to arbitrary file uploads due to incorrect file type validation in the PostGalleryUploader class in all versions up to and including 1.12.5. The flaw allows authenticated users with subscriber level and above permissions to upload files that are not properly vetted. Because the uploaded file can be placed under a web‑accessible directory and may contain executable code, attackers could potentially gain remote code execution capabilities on the affected site. The weakness aligns with CWE-434: Unrestricted Upload of File with Dangerous Type.

Affected Systems

This vulnerability affects the rtowebsites PostGallery plugin for WordPress. All installed copies of the plugin with a version number of 1.12.5 or earlier are impacted. Sites using the 1.12.5 variant or older are therefore at risk.

Risk and Exploitability

The CVSS score of 8.8 classifies this flaw as High severity, and the EPSS score of less than 1% indicates a low likelihood of exploitation at present, though the vulnerability remains exploitable. The flaw is not listed in CISA KEV. Attackers must be authenticated and hold at least subscriber‑level privileges to use the upload interface. The likely attack path is to submit a malicious file through the plugin’s upload mechanism; because the file type is not validated, the server may store the file in a location that can be executed as a script, thereby enabling remote code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the PostGallery plugin to any version newer than 1.12.5 to remove the flaw.
  • Disable file uploads for subscriber and lower roles using a WordPress security or role‑management plugin so that the vulnerable interface is inaccessible to potential attackers.
  • Configure the web server or file system so that files uploaded through PostGallery are stored in a non‑executable directory and that PHP execution is disabled for that directory.

Generated by OpenCVE AI on April 22, 2026 at 16:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title PostGallery <= 1.12.5 - Authenticated (Subscriber+) Arbitrary File Upload
Weaknesses CWE-434
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:36 PM
Reserved
Nov 22, 2025, 2:12 PM
Status
Deferred
Published
Dec 4, 2025, 9:16 PM
Modified
Oct 18, 2026, 3:10 PM