Contact Form 7 – Dynamic Text Extension <= 4.1.0 - Insecure Direct Object Reference

Exposure of Private Information ('Privacy Violation')
CVE CVE-2023-6630
CVSS 4.3 (Medium)
Publicly Published January 10, 2024
Last Updated January 11, 2024
Researcher Francesco Carlucci


The Contact Form 7 – Dynamic Text Extension plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 4.1.0 via the CF7_get_custom_field and CF7_get_current_user shortcodes due to missing validation on a user controlled key. This makes it possible for authenticated attackers with contributor access or higher to access arbitrary metadata of any post type, referencing the post by id and the meta by key.



Vulnerability Details for Contact Form 7 – Dynamic Text Extension

Software Type Plugin
Software Slug contact-form-7-dynamic-text-extension (view on
Patched? Yes
Remediation Update to version 4.2.0, or a newer patched version
Affected Version
  • <= 4.1.0
Patched Version
  • 4.2.0

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.