Skip to main content

PHP CVE-2025-60081

HIGH
Deserialization of Untrusted Data (CWE-502)
2025-12-18 audit@patchstack.com
8.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

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

Impact

CVSS 8.8 (High) reflects significant technical impact with confidentiality, integrity, and availability all rated High, but real-world risk is moderated by several factors. Attack vector is network-accessible with low complexity, yet requires low-privileged authentication (PR:L), limiting opportunistic mass exploitation. EPSS score of 0.07% (22nd percentile) indicates minimal observed exploitation activity in the wild, suggesting attackers have not prioritized this vector despite public disclosure. No CISA KEV listing confirms absence of widespread active exploitation. SSVC assessment: exploitation status is public (POC available via Patchstack), technical impact is total (code execution possible), but exploitation is not fully automatable due to authentication requirement. This rates as a secondary priority-patch urgently on exposed WordPress instances with authenticated users of unknown trust level, but lower priority than unauthenticated RCE or KEV-listed threats. The authentication barrier significantly reduces internet-wide scanning risk compared to unauthenticated deserialization flaws.

Exploit ScenarioDerived

An attacker with low-privileged WordPress user credentials (such as a Subscriber or Contributor account) crafts a malicious serialized PHP object containing a POP chain targeting WordPress core or plugin classes. They submit this payload through a Contact Form 7 form configured to use PDF for Contact Form 7 for output generation, or directly manipulate plugin API endpoints if exposed. The plugin's unsafe unserialize() call instantiates the attacker's object, triggering magic methods that write a web shell to the uploads directory or execute arbitrary commands via existing gadget chains. No user interaction is required beyond the attacker's own authenticated session. Publicly available exploit code exists per Patchstack disclosure, lowering technical barriers for exploitation.

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 – Apr 01, 2026

Object injection via unsafe deserialization in PDF for Contact Form 7 WordPress plugin (versions ≤6.5.0) allows authenticated attackers to execute arbitrary PHP code or manipulate application state. Attack requires low-privileged user credentials but no user interaction, with network-accessible attack vector. EPSS probability remains low (0.07%, 22nd percentile) and no active exploitation confirmed at time of analysis. Publicly available exploit code exists per Patchstack disclosure.

RemediationAI

Upgrade PDF for Contact Form 7 plugin to the latest patched version immediately. While the input data specifies vulnerability through version 6.5.0, the exact fixed version number is not independently confirmed in available data-consult the WordPress plugin repository or vendor advisory for the specific release containing the deserialization fix. Navigate to WordPress admin dashboard, select Plugins, locate PDF for Contact Form 7, and apply available updates. If immediate patching is not feasible, implement defense-in-depth controls: restrict plugin access to only trusted administrator accounts, monitor PHP error logs for unserialize() warnings, and consider Web Application Firewall rules blocking suspicious POST payloads to Contact Form 7 endpoints. Review user roles and minimize accounts with plugin configuration privileges. Patchstack reference URL provides proof-of-concept details that can inform detection rule development for intrusion detection systems.

Affected ProductsAI

WordPress plugin PDF for Contact Form 7 developed by add-ons.org, affecting all versions from initial release through version 6.5.0 inclusive. The vulnerability exists in the core deserialization handling logic used for PDF generation tied to Contact Form 7 form submissions. Installations running version 6.5.0 or earlier are vulnerable. Patchstack vulnerability database entry available at https://patchstack.com/database/Wordpress/Plugin/pdf-for-contact-form-7/vulnerability/wordpress-pdf-for-contact-form-7-plugin-6-3-0-deserialization-of-untrusted-data-vulnerability?_s_id=cve provides additional technical details and exploitation indicators.

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-502 (Deserialization of Untrusted Data) in the PDF for Contact Form 7 WordPress plugin. PHP's unserialize() function, when processing untrusted input, can instantiate arbitrary objects and trigger magic methods (__wakeup, __destruct, __toString) leading to Object Injection attacks. In WordPress environments, this primitive can chain with existing classes (POP chains) to achieve remote code execution, file manipulation, or database corruption. The plugin processes PDF generation requests tied to Contact Form 7 submissions, likely deserializing configuration or form data without proper validation. The affected component is developed by add-ons.org and integrates with the popular Contact Form 7 plugin ecosystem, expanding the attack surface to any WordPress installation using this PDF generation functionality.

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

Deserialization of Untrusted Data vulnerability in add-ons.org PDF for Contact Form 7 pdf-for-contact-form-7 allows Object Injection.This issue affects PDF for Contact Form 7: from n/a through <= 6.5.0.

Executive ViewAI

Why It Matters

CVE-2025-60081 affects Contact Form 7's PDF extension (versions ≤6.5.0) and allows authenticated users with low privileges to inject malicious code through unsafe deserialization, potentially compromising WordPress sites that rely on this plugin for form handling. Organizations using this plugin must immediately restrict user access and plan urgent plugin updates, as exploit code is publicly available and the vulnerability enables attackers to execute arbitrary PHP code.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable the PDF for Contact Form 7 plugin until patch is available; (2) Restrict plugin access to administrator accounts only via role-based capabilities; (3) Implement Web Application Firewall rules to block suspicious POST requests to vulnerable plugin endpoints; (4) Monitor WordPress debug logs for PHP errors or unusual object instantiation; (5) Enforce strong authentication for all WordPress users with form access.

Threat Intelligence Overview

EPSS Score
0.1%
Top 78% 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

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

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