CVE-2025-13146 PUBLISHED

Contact Form 7 – Dynamic Text Extension <= 5.0.6 - Unauthenticated Arbitrary Shortcode Execution

Assigner: Wordfence
Reserved: 13.11.2025 Published: 22.07.2026 Updated: 22.07.2026

The The Contact Form 7 – Dynamic Text Extension plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 5.0.6. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes. The vulnerability was partially patched in version 5.0.4.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS Score: 6.5

Product Status

Vendor sevenspark
Product Contact Form 7 – Dynamic Text Extension
Versions Default: unaffected
  • affected from 0 to 5.0.3 (incl.)

Credits

  • NosleeP++ finder

References

Problem Types

  • CWE-94 Improper Control of Generation of Code ('Code Injection') CWE