CVE-2025-54731 WordPress YouTube Showcase Plugin <= 3.5.1 - PHP Object Injection Vulnerability

High 8.1 Published Updated

An attacker can exploit PHP object injection in the YouTube Showcase plugin to potentially execute arbitrary code on the WordPress site.

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

What is CVE-2025-54731?

CVE-2025-54731 is a high-severity unsafe deserialization vulnerability in emarket-design YouTube Showcase, published on 28 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Control of Generation of Code ('Code Injection') vulnerability in emarket-design YouTube Showcase youtube-showcase allows Object Injection.This issue affects YouTube Showcase: from n/a through <= 3.5.1.

Weakness: CWE-94

Which versions are affected by CVE-2025-54731?

How do I fix CVE-2025-54731?

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

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2025-54731 being exploited?

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

Sources

Also known as GHSA-7f5g-j4mq-3qgp.

Is CVE-2025-54731 in your software?

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

Check your SBOMs for free