CVE-2023-6996 Code injection in Display custom fields in the frontend – Post and User Profile Fields

High 8.8 Published Updated

Authenticated contributors can execute arbitrary code via the plugin's shortcode due to insufficient input validation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-6996?

CVE-2023-6996 is a high-severity code injection vulnerability in josevega Display custom fields in the frontend – Post and User Profile Fields, published on 5 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2023-6996?

It affects 1 product.

Products include Vegacorp Display Custom Fields in the Frontend - Post and User Profile Fields.

How do I fix CVE-2023-6996?

No fix has been published for CVE-2023-6996 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-6996 being exploited?

There is no known exploitation of CVE-2023-6996 in the wild and no public exploit code.

Sources

Also known as GHSA-g7rx-4mww-c3pc.

Is CVE-2023-6996 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free