Skip to main content

Modal Survey CVE-2025-39468

HIGH
PHP Remote File Inclusion (CWE-98)
2025-11-06 audit@patchstack.com
8.1
CVSS 3.1 · Vendor: patchstack
View

Attack ChainAIDerived

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

  1. Recon
    Identify Modal Survey plugin
  2. Delivery
    Craft request with path traversal payload
  3. Exploit
    Include sensitive config file or remote PHP
  4. Install
    Execute arbitrary code
  5. C2
    Extract credentials
  6. Execute
    Escalate privileges
  7. Impact
    Establish persistence

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

Exploitation requires Modal Survey plugin version 2.0.2.0.1 or earlier to be active on the WordPress installation. High attack complexity (AC:H) indicates specific prerequisites: attacker must identify the vulnerable plugin parameter that accepts file paths without validation, which may require code review or fuzzing since parameter names are not standardized across WordPress plugins. For remote file inclusion (executing attacker-hosted PHP), the target server must have allow_url_include=On in PHP configuration, which is disabled by default in PHP 5.2.0+ and most hosting environments. For local file inclusion attacks (reading sensitive files or including already-uploaded malicious files), no special PHP configuration required but attacker needs knowledge of target file paths on the server. No user interaction required (UI:N). Limiting factors: many WordPress security plugins and WAFs detect common path traversal patterns; file inclusion may fail if open_basedir restrictions are configured; exploitation impact limited by web server user permissions (typically www-data with restricted file system access).

Impact

This presents moderate real-world risk despite the 8.1 CVSS score. The CVSS vector shows network attack vector with no authentication required (PR:N), enabling remote exploitation, but high attack complexity (AC:H) significantly limits exploitability compared to simple parameter manipulation vulnerabilities. The EPSS score of 0.14% (35th percentile) aligns with AC:H - attackers would need specific knowledge of the plugin's file structure and successful path traversal techniques. Not present in CISA KEV, indicating no confirmed active exploitation campaigns. Patchstack's database labels this as both remote file inclusion and local file inclusion with information disclosure tags, suggesting the vulnerability may allow reading sensitive files (wp-config.php, /etc/passwd) in addition to code execution. The real priority depends heavily on whether the WordPress installation has Modal Survey active and whether allow_url_include is enabled in PHP configuration (required for true remote file inclusion). For installations with default PHP settings (allow_url_include disabled), risk reduces to local file inclusion only. High impact rating (C:H/I:H/A:H) is accurate if exploitation succeeds, but AC:H means this is not a 'patch immediately' emergency for most organizations - prioritize based on actual Modal Survey deployment.

Exploit ScenarioDerived

An unauthenticated attacker discovers Modal Survey is installed on the target WordPress site through plugin enumeration. The attacker crafts HTTP requests to vulnerable plugin endpoints, injecting path traversal sequences (../../wp-config.php) into file inclusion parameters to read sensitive configuration files containing database credentials. If PHP allow_url_include is enabled, the attacker hosts a malicious PHP payload on an external server and forces the plugin to include and execute it via a crafted URL parameter, achieving remote code execution as the web server user. The attacker then installs a web shell for persistent access, escalates privileges by extracting admin credentials from wp-config.php, and pivots to complete site takeover.

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

AnalysisAIv2 – Apr 24, 2026

Remote file inclusion in Modal Survey WordPress plugin through version 2.0.2.0.1 allows unauthenticated attackers to include and execute arbitrary PHP files via manipulated include/require statements. Exploitation requires complex conditions (AC:H) but no authentication, potentially leading to complete site compromise. EPSS score of 0.14% (35th percentile) suggests low probability of mass exploitation. Patchstack security audit identified this vulnerability as exploitable for both remote file inclusion and local file inclusion.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 19:20 CVSS 9.8

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in pantherius Modal Survey modal-survey.0.2.0.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

RemediationAI

Update Modal Survey plugin to version 2.0.2.0.2 or later if available (verify current patched version at WordPress.org plugin repository or Patchstack advisory at https://patchstack.com/database/Wordpress/Plugin/modal-survey/vulnerability/wordpress-modal-survey-plugin-2-0-2-0-1-local-file-inclusion-vulnerability). If no patched version exists, immediately deactivate and remove the Modal Survey plugin until a fix is released. Compensating controls for organizations requiring continued operation: implement Web Application Firewall rules blocking requests with path traversal sequences (../, .%2e, %2e%2e) and null byte injections (%00) to plugin endpoints; restrict plugin directory permissions to prevent writing attacker-controlled files for inclusion; disable allow_url_include in PHP configuration (php.ini) to prevent remote file inclusion while permitting only local file inclusion (reduces exploitability but does not eliminate information disclosure risk). Note that WAF rules may cause false positives if the plugin legitimately processes file paths in surveys. Monitor WordPress access logs for suspicious requests to /wp-content/plugins/modal-survey/ containing unusual file parameters or directory traversal patterns.

Affected ProductsAI

WordPress Modal Survey plugin versions through 2.0.2.0.1 developed by pantherius. The vulnerability affects all versions from the initial release up to and including version 2.0.2.0.1. No CPE identifier provided in available data. Patchstack vulnerability database reference: https://patchstack.com/database/Wordpress/Plugin/modal-survey/vulnerability/wordpress-modal-survey-plugin-2-0-2-0-1-local-file-inclusion-vulnerability

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

This vulnerability stems from CWE-98 (Improper Control of Filename for Include/Require Statement), a classic PHP security flaw where user-controlled input is passed directly to file inclusion functions (include, require, include_once, require_once) without proper validation. Modal Survey is a WordPress plugin developed by pantherius for creating survey modals. The plugin fails to sanitize file path parameters before using them in PHP file inclusion statements, enabling attackers to traverse directories or reference remote URLs. WordPress plugins commonly suffer from this vulnerability class when implementing dynamic template loading, AJAX handlers, or file upload processing without strict allowlisting of permitted file paths. The CVSS vector indicates network-based exploitation (AV:N) with high attack complexity (AC:H), suggesting exploitation requires specific knowledge of file paths, race conditions, or particular plugin configurations.

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

Vendor (patchstack) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (patchstack) · only source for this CVE.

CVSS VectorVendor: patchstack

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

Lifecycle Timeline

4
Analysis Updated
Apr 24, 2026 - 01:06 vuln.today
v2 - CVSS changed
Severity Changed
Apr 23, 2026 - 15:43 NVD
CRITICAL HIGH
CVSS changed
Apr 23, 2026 - 15:43 NVD
9.8 (CRITICAL) 8.1 (HIGH)
CVE Published
Nov 06, 2025 - 16:15 nvd
CRITICAL 9.8

DescriptionCVE.org

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in pantherius Modal Survey modal-survey.This issue affects Modal Survey: from n/a through <= 2.0.2.0.1.

Executive ViewAI

Why It Matters

CVE-2025-39468 affects Modal Survey WordPress plugin through version 2.0.2.0.1 and allows unauthenticated attackers to execute arbitrary PHP code on affected WordPress sites through remote file inclusion. While exploitation requires specific technical conditions and remains unlikely at scale (0.1% EPSS), successful attacks result in complete site compromise, making this a critical risk for organizations running vulnerable plugin versions.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable the Modal Survey plugin entirely; (2) Implement Web Application Firewall (WAF) rules to block requests containing suspicious parameter patterns targeting file inclusion (e.g., ../, php://, data://); (3) Restrict plugin file permissions to read-only where possible; (4) Monitor WordPress error logs and PHP execution for anomalous file inclusion attempts; (5) If plugin removal is infeasible, apply strict input validation and implement PHP execution restrictions in plugin directories via .htaccess or web server configuration.

Threat Intelligence Overview

EPSS Score
0.1%
Top 65% exploitable
Data Quality
3 sources
Confidence: Low

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

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
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.

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