Skip to main content

PHP CVE-2026-1463

| EUVDEUVD-2026-12851 HIGH
PHP Remote File Inclusion (CWE-98)
2026-03-18 Wordfence
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as Author-level user
  2. Exploit
    Submit gallery shortcode with malicious template parameter
  3. Execution
    Plugin includes arbitrary PHP file
  4. Impact
    Execute arbitrary code on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Command and Control

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires NextGEN Gallery plugin for WordPress versions up to 4.0.3. Attacker must be authenticated WordPress user with Author-level access or above. Exploits 'template' parameter in gallery shortcodes to include arbitrary .php files. Most dangerous when .php file uploads are permitted on the server.

Impact

The CVSS 3.1 score of 8.8 (High) reflects significant risk with network-based attack vector (AV:N), low complexity (AC:L), and low privileges required (PR:L), meaning any authenticated user with Author role can exploit this. The vulnerability requires authentication, which somewhat limits the attack surface compared to unauthenticated flaws, but Author-level access is commonly granted in WordPress installations with multiple content contributors. The impact ratings are all High (C:H/I:H/A:H), indicating potential for complete system compromise. While no KEV listing or EPSS score is provided in the intelligence data, the availability of source code references showing the exact vulnerable code paths and a published patch significantly increases exploitation risk. The technical tags (PHP, WordPress, RCE, Information Disclosure, LFI) confirm this is exploitable for remote code execution if attackers can upload PHP files or find existing executable files on the server. This represents a genuine priority for WordPress sites using NextGEN Gallery, particularly those with multiple authors or untrusted authenticated users.

Exploit ScenarioDerived

An attacker with Author-level WordPress credentials creates or edits a post containing a NextGEN Gallery shortcode with a malicious 'template' parameter pointing to a previously uploaded PHP webshell or existing server configuration file. When the post is viewed or previewed, the vulnerable plugin includes and executes the specified file, granting the attacker arbitrary code execution on the web server. The attacker can then escalate privileges, access database credentials, steal sensitive data, or deploy persistent backdoors. Given the low attack complexity and network-based vector, exploitation requires only standard WordPress access and no user interaction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 18, 2026

The NextGEN Gallery plugin for WordPress contains a Local File Inclusion vulnerability in the 'template' parameter of gallery shortcodes, affecting all versions up to and including 4.0.3. Authenticated attackers with Author-level privileges or higher can include and execute arbitrary PHP files on the server, potentially leading to remote code execution, data theft, or complete site compromise. This is a confirmed vulnerability reported by Wordfence with a high CVSS score of 8.8, though no active exploitation (KEV) status has been reported at this time.

RemediationAI

Update the NextGEN Gallery plugin to version 4.0.4 or later, which includes a patch addressing the Local File Inclusion vulnerability as evidenced by changeset 3460327 in the WordPress plugin repository (https://plugins.trac.wordpress.org/changeset/3460327/nextgen-gallery/trunk/src/DisplayType/LegacyTemplateLocator.php). The patch modifies the LegacyTemplateLocator.php file to properly validate and sanitize the 'template' parameter before file inclusion. As an interim mitigation until patching is possible, restrict Author-level access to only trusted users, implement file upload restrictions to prevent PHP file uploads, and consider using WordPress security plugins with virtual patching capabilities to filter malicious shortcode parameters. Review existing user accounts with Author privileges and audit any gallery shortcodes for suspicious template parameters. Monitor web server logs for unusual file access patterns or inclusion attempts targeting plugin template files.

Affected VersionsENISA

Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery * ≤4.0.4

Affected Packages

euvd photo_gallery_sliders_proofing_and_themes_nextgen_gallery no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects the Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin (CPE: cpe:2.3:a:smub:photo_gallery,_sliders,_proofing_and_themes_–_nextgen_gallery) for WordPress. The root cause is classified as CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program), commonly known as Local File Inclusion. The vulnerability exists in the LegacyTemplateLocator.php and Controller.php files, where the 'template' parameter in gallery shortcodes is not properly validated before being passed to PHP include functions. This allows attackers to manipulate file paths and include arbitrary PHP files from the server filesystem, which are then executed in the context of the web application. The flaw is in how the plugin processes template parameters when rendering gallery displays through shortcodes.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

DescriptionCVE.org

The Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.0.3 via the 'template' parameter in gallery shortcodes. This makes it possible for authenticated attackers, with Author-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.

Executive ViewAI

Why It Matters

A critical vulnerability in the NextGEN Gallery WordPress plugin (versions ≤4.0.3) allows authenticated attackers to execute arbitrary code on affected websites, potentially leading to data theft and complete site compromise. Any organization using this plugin with user accounts at Author level or above faces immediate risk of unauthorized access and malicious activity.

Business Impact: High
Compensating Controls

Disable the NextGEN Gallery plugin immediately if not essential to operations; implement WAF rules to block requests containing suspicious characters in gallery shortcode 'template' parameters; restrict Author-level account creation and audit existing accounts; enable WordPress security monitoring and log authentication attempts; consider network segmentation to limit database and file system access from web application layer; enforce strong password policies and multi-factor authentication for all admin accounts.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Related Vulnerabilities in WordPress Plugin Local File Inclusion

View all 2

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

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