Simple Contact Forms CVE-2025-60197
HIGHSeverity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
5DescriptionCVE.org
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in owenr88 Simple Contact Forms simple-contact-forms allows PHP Local File Inclusion.This issue affects Simple Contact Forms: from n/a through <= 1.6.4.
AnalysisAI
Local File Inclusion in Simple Contact Forms WordPress plugin (versions ≤1.6.4) allows remote unauthenticated attackers to include arbitrary PHP files from the server's local filesystem via improper filename validation in include/require statements. CVSS rates this 8.1 (High) with high attack complexity (AC:H), but EPSS indicates only 0.08% exploitation probability (23rd percentile), suggesting low real-world targeting. Patchstack classified this as an LFI vulnerability with information disclosure potential, though successful exploitation could escalate to code execution if combined with file upload or log poisoning techniques.
Technical ContextAI
This vulnerability stems from CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program), a class of weaknesses where PHP applications dynamically construct file paths for include() or require() statements using unsanitized user input. The Simple Contact Forms WordPress plugin fails to properly validate filenames passed to PHP file inclusion functions, allowing attackers to manipulate path traversal sequences or reference local files. Unlike Remote File Inclusion (RFI) which requires allow_url_include enabled, Local File Inclusion (LFI) works against default PHP configurations, making it a more universally exploitable condition. The plugin processes contact form submissions in PHP, and vulnerable code likely exists in form handling or template rendering logic where user-controlled parameters influence file paths without adequate sanitization or whitelist validation.
Affected ProductsAI
The vulnerability affects Simple Contact Forms, a WordPress plugin developed by owenr88, in all versions up to and including 1.6.4. The version range begins from an unspecified early release (marked 'n/a' in advisories) through version 1.6.4. This is a WordPress ecosystem plugin available through the official WordPress.org repository. The Patchstack advisory (https://patchstack.com/database/Wordpress/Plugin/simple-contact-forms/vulnerability/wordpress-simple-contact-forms-plugin-1-6-4-local-file-inclusion-vulnerability) provides the authoritative affected version information, though no CPE string was provided in NVD data for precise product identification.
RemediationAI
Immediately upgrade Simple Contact Forms to version 1.6.5 or later if available from the WordPress plugin repository. The Patchstack advisory at https://patchstack.com/database/Wordpress/Plugin/simple-contact-forms/vulnerability/wordpress-simple-contact-forms-plugin-1-6-4-local-file-inclusion-vulnerability should be consulted for official patch confirmation and release notes. If a patched version is not yet available or upgrade is delayed, implement these compensating controls with noted trade-offs: (1) Deactivate and remove the Simple Contact Forms plugin entirely, replacing with an alternative contact form solution (disrupts contact functionality until replacement configured). (2) Implement Web Application Firewall (WAF) rules to block requests containing path traversal sequences (../, .\, %2e%2e%2f) in parameters passed to the plugin, though sophisticated attackers may bypass pattern-based filters using encoding tricks. (3) Restrict PHP open_basedir directive in php.ini or .htaccess to limit file inclusion scope to WordPress installation directory only (may break legitimate plugins with cross-directory dependencies). (4) Enable PHP disable_functions for potentially dangerous functions like include, require, include_once if application logic permits (high risk of breaking WordPress core and other plugins).
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-98 – PHP Remote File Inclusion
View allShare
External POC / Exploit Code
Leaving vuln.today