CVE-2024-4704: The Contact Form 7 WordPress plugin before 5.9.5 has an open redirect that allows an attacker to utilize a false URL and redirect to the URL of their choosing.

medium Affects contact-form-7 (WordPress plugin). Feed 2026.10.29.2, updated 2026-10-29; published ; advisory modified .

The Contact Form 7 WordPress plugin before 5.9.5 has an open redirect that allows an attacker to utilize a false URL and redirect to the URL of their choosing.

Package
contact-form-7 (WordPress plugin) WordPress
Affected versions
<5.9.5
Fixed in
5.9.5
Severity
medium  CVSS 6.1
Exploitation
not on CISA KEV · EPSS 0% (39.0th percentile)
Published
2024-06-27
Source
nvd

References

CWE-601
NVD recordcontact-form-7 (WordPress plugin) advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /var/www/html

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories