Skip to main content

Theme Demo Import CVE-2026-13157

| EUVDEUVD-2026-51713 HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-08-01 WPScan GHSA-pvx9-4vfp-58m3
7.2
CVSS 3.1 · Vendor: WPScan
Share

Severity by source

Vendor (WPScan) PRIMARY
7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.2 HIGH

Attack is network-delivered via admin dashboard (AV:N, AC:L); administrator credentials are required (PR:H); full server-side code execution yields complete CIA impact with no scope change.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Generated
Aug 05, 2026 - 22:30 vuln.today
CVSS changed
Aug 05, 2026 - 20:22 NVD
7.2 (HIGH)
CVE Published
Aug 01, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 01, 2026 - 06:00 cve.org
HIGH 7.2

DescriptionCVE.org

The Demo Import WordPress plugin through 1.1.3 does not validate the type of files uploaded during demo-content import (the WordPress file-type test is disabled), allowing high-privilege users (Administrator by default, including non-super-admin site administrators on multisite) to upload executable PHP files to the uploads directory.

AnalysisAI

Unrestricted PHP file upload in the Theme Demo Import WordPress plugin (≤1.1.3) enables administrator-level users - including non-super-admin site admins on multisite installs - to bypass WordPress's native file-type validation and upload executable PHP files to the server's uploads directory, resulting in full remote code execution. A publicly available proof-of-concept exists per WPScan reporting, though EPSS sits at 0.14% (4th percentile), suggesting exploitation remains uncommon. No confirmed active exploitation in CISA KEV; however, SSVC rates technical impact as total.

Technical ContextAI

CWE-434 (Unrestricted Upload of File with Dangerous Type) is the root cause: the plugin explicitly disables WordPress's built-in file-type checking during the demo-content import workflow, a mechanism ordinarily enforced by wp_check_filetype_and_ext() and upload MIME allow-lists. This allows PHP files - which WordPress's core would normally reject - to land in the wp-content/uploads directory. Since web servers typically serve files from this directory without execution restrictions unless explicitly hardened, uploaded PHP files are directly web-accessible and executable. The affected CPE is cpe:2.3:a:unknown:theme_demo_import:*:*:*:*:*:*:*:* covering all versions through 1.1.3. The vendor identifier is listed as 'unknown' in NVD CPE data, indicating incomplete vendor attribution.

RemediationAI

No vendor-released patched version has been identified in the available data - the fix version is not confirmed from CPE, NVD, or WPScan advisory at the time of analysis. The primary recommended action is to deactivate and remove the Theme Demo Import plugin immediately, especially on multisite WordPress installations where site administrators are not fully trusted. If the plugin is operationally required, restrict access to the demo import functionality exclusively to super-admins via capability checks or role management plugins (e.g., Members, User Role Editor), which reduces the privilege exposure. Additionally, configure the web server (Apache/nginx) to deny PHP execution within the wp-content/uploads directory using a .htaccess rule (Apache: 'php_flag engine off') or nginx 'location' block - this is an effective compensating control but requires testing for compatibility with legitimate plugin-generated content. Monitor the uploads directory for unexpected PHP files. Reference the WPScan advisory at https://wpscan.com/vulnerability/5d6a6a8e-c224-4034-8ed5-2d63f37f9479/ and NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-13157 for patch availability updates.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-13157 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy