Display custom fields in the frontend – Post and User Profile Fields <= 1.2.1 - Authenticated (Contributor+) Code Injection

Improper Control of Generation of Code ('Code Injection')
CVE CVE-2023-6996
CVSS High (8.8)
Publicly Published January 16, 2024
Last Updated July 29, 2024
Researcher Francesco Carlucci
Description

The Display custom fields in the frontend – Post and User Profile Fields plugin for WordPress is vulnerable to Code Injection via the plugin's vg_display_data shortcode in all versions up to, and including, 1.2.1 due to insufficient input validation and restriction on access to that shortcode. This makes it possible for authenticated attackers with contributor-level and above permissions to call arbitrary functions and execute code.

References

1 affected software package

Software Type Plugin
Software Slug shortcode-to-display-post-and-user-data (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.2.1
Patched Version
  • 1.3.0
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.