Redirection for Contact Form 7 <= 3.2.4 - Unauthenticated PHP Object Injection via PHAR Deserialization

7.5
Deserialization of Untrusted Data
CVE CVE-2025-8289
CVSS 7.5 (High)
Publicly Published August 19, 2025
Last Updated August 20, 2025
Researcher Phat RiO

Description

The Redirection for Contact Form 7 plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.2.4 via deserialization of untrusted input in the delete_associated_files function. This makes it possible for unauthenticated attackers to inject a PHP Object. This vulnerability may be exploited by unauthenticated attackers when a form is present on the site with a file upload action, and doesn't affect sites with PHP version > 8. This vulnerability also requires the 'Redirection For Contact Form 7 Extension - Create Post' extension to be installed and activated in order to be exploited. No known POP chain is present in the vulnerable software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present. We confirmed there is a usable gadget in Contact Form 7 plugin that makes arbitrary file deletion possible when installed with this plugin. Given Contact Form 7 is a requirement of this plugin, it is likely that any site with this plugin and the 'Redirection For Contact Form 7 Extension - Create Post' extension enabled is vulnerable to arbitrary file deletion.

References

Share

Vulnerability Details for Redirection for Contact Form 7

Software Type Plugin
Software Slug wpcf7-redirect (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.2.5, or a newer patched version
Affected Version
  • <= 3.2.4
Patched Version
  • 3.2.5

Recent vulnerabilities in Redirection for Contact Form 7

# Title CVE ID CVSS Researchers Date
1 Redirection for Contact Form 7 <= 3.2.8 - Unauthenticated Stored Cross-Site Scripting CVE-2026-23970 7.2 JongHwan Shin (zzzsleep) May 13, 2026
2 Redirection for Contact Form 7 <= 3.2.7 - Unauthenticated Arbitrary File Copy via move_file_to_upload CVE-2025-14800 8.1 LionTree December 20, 2025
3 Redirection for Contact Form 7 <= 3.2.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via qs_date Shortcode CVE-2025-9562 6.4 Muhammad Yudha - DJ October 17, 2025
4 Redirection for Contact Form 7 <= 3.2.4 - Unauthenticated Arbitrary File Deletion CVE-2025-8141 8.8 Phat RiO August 19, 2025
5 Redirection for Contact Form 7 <= 3.2.4 - Unauthenticated PHP Object Injection CVE-2025-8145 8.8 Phat RiO August 19, 2025
6 Redirection for Contact Form 7 <= 2.9.2 - Missing Authorization CVE-2023-39920 5.3 Nguyen Anh Tien October 3, 2023
7 Freemius SDK <= 2.5.9 - Reflected Cross-Site Scripting via fs_request_get CVE-2023-33999 6.1 Rafie Muhammad July 18, 2023
8 Redirection for Contact Form 7 <= 2.7.0 - Authenticated(Editor+) Privilege Escalation CVE-2023-23990 7.2 Rafie Muhammad February 6, 2023
9 Redirection for Contact Form 7 <= 2.4.0 - Missing Authorization CVE-2021-36913 5.3 mirphak September 29, 2022
10 Redirection for Contact Form 7 <= 2.4.0 - Reflected Cross-Site Scripting CVE-2022-0250 6.1 ZhongFu Su March 7, 2022

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation