CVE-2026-12923: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in emarket-design Video Gallery – YouTube Gallery, Playlist & Video Grid
The Youtube Showcase plugin for WordPress is vulnerable to Arbitrary Function Call in versions up to and including 4.0.3. This is due to insufficient validation of the 'path' parameter in the emd_delete_file() AJAX handler in includes/common-functions.php. The user-supplied value is passed through sanitize_text_field(), has its trailing '_PLUGIN_DIR' substring stripped, and is then invoked as a PHP function name with no arguments via `$sess_name()`. The handler is gated only by a nonce — no current_user_can() check is present — and the nonce is emitted on any front-end page that renders a form shortcode containing file fields. This makes it possible for authenticated attackers, with Subscriber-level access and above, to invoke arbitrary zero-argument PHP functions (such as phpinfo, phpversion, get_defined_vars, error_get_last), resulting in sensitive information disclosure and potential further compromise depending on the functions available in the environment.
AI Analysis
Technical Summary
CVE-2026-12923 describes an arbitrary function call vulnerability in the Youtube Showcase WordPress plugin by emarket-design. The vulnerability exists in versions up to and including 4.0.3 (though no explicit affected versions are provided) within the emd_delete_file() AJAX handler in includes/common-functions.php. The handler processes a user-supplied 'path' parameter that is sanitized but then used as a function name without sufficient validation. The handler is protected only by a nonce, which is exposed on front-end pages rendering forms with file fields, and lacks any user capability checks. This allows authenticated users with low privileges (Subscriber or above) to invoke arbitrary zero-argument PHP functions such as phpinfo(), potentially disclosing sensitive information and enabling further attacks depending on the environment.
Potential Impact
An attacker with Subscriber-level access or higher can invoke arbitrary zero-argument PHP functions on the server, leading to sensitive information disclosure. Depending on the PHP functions available, this could facilitate further compromise of the affected system. The vulnerability impacts confidentiality, integrity, and availability as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the affected AJAX handler by implementing proper capability checks (e.g., current_user_can()) and avoid exposing the nonce on publicly accessible pages. Monitor for updates from the vendor emarket-design and apply official patches once released.
CVE-2026-12923: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in emarket-design Video Gallery – YouTube Gallery, Playlist & Video Grid
Description
The Youtube Showcase plugin for WordPress is vulnerable to Arbitrary Function Call in versions up to and including 4.0.3. This is due to insufficient validation of the 'path' parameter in the emd_delete_file() AJAX handler in includes/common-functions.php. The user-supplied value is passed through sanitize_text_field(), has its trailing '_PLUGIN_DIR' substring stripped, and is then invoked as a PHP function name with no arguments via `$sess_name()`. The handler is gated only by a nonce — no current_user_can() check is present — and the nonce is emitted on any front-end page that renders a form shortcode containing file fields. This makes it possible for authenticated attackers, with Subscriber-level access and above, to invoke arbitrary zero-argument PHP functions (such as phpinfo, phpversion, get_defined_vars, error_get_last), resulting in sensitive information disclosure and potential further compromise depending on the functions available in the environment.
CVSS v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-12923 describes an arbitrary function call vulnerability in the Youtube Showcase WordPress plugin by emarket-design. The vulnerability exists in versions up to and including 4.0.3 (though no explicit affected versions are provided) within the emd_delete_file() AJAX handler in includes/common-functions.php. The handler processes a user-supplied 'path' parameter that is sanitized but then used as a function name without sufficient validation. The handler is protected only by a nonce, which is exposed on front-end pages rendering forms with file fields, and lacks any user capability checks. This allows authenticated users with low privileges (Subscriber or above) to invoke arbitrary zero-argument PHP functions such as phpinfo(), potentially disclosing sensitive information and enabling further attacks depending on the environment.
Potential Impact
An attacker with Subscriber-level access or higher can invoke arbitrary zero-argument PHP functions on the server, leading to sensitive information disclosure. Depending on the PHP functions available, this could facilitate further compromise of the affected system. The vulnerability impacts confidentiality, integrity, and availability as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the affected AJAX handler by implementing proper capability checks (e.g., current_user_can()) and avoid exposing the nonce on publicly accessible pages. Monitor for updates from the vendor emarket-design and apply official patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-06-22T16:48:46.550Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a44a07827e9c79719fbd57b
Added to database: 07/01/2026, 05:07:04 UTC
Last enriched: 07/08/2026, 13:08:58 UTC
Last updated: 08/16/2026, 00:41:10 UTC
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.