Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 76%

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

0
High
VulnerabilityCVE-2026-12923cvecve-2026-12923cwe-98
Published: 07/01/2026 (07/01/2026, 03:43:37 UTC)
Source: CVE Database V5
Vendor/Project: emarket-design
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 05:23:45 UTC

Technical Analysis

CVE-2026-12923 is a high-severity vulnerability in the emarket-design Video Gallery – YouTube Gallery, Playlist & Video Grid WordPress plugin. The issue arises from improper control of the filename for an include/require statement, specifically an arbitrary function call via the 'path' parameter in the emd_delete_file() AJAX handler. The parameter is sanitized with sanitize_text_field() and partially stripped, but then used as a PHP function name without arguments. The handler is only protected by a nonce and lacks a current_user_can() capability check, allowing authenticated users with low privileges (Subscriber and above) to execute arbitrary zero-argument PHP functions such as phpinfo(), leading to information disclosure and potential further impact.

Potential Impact

An attacker with Subscriber-level access or higher can invoke arbitrary zero-argument PHP functions on the server, which may disclose sensitive information such as PHP configuration, environment variables, or error details. This can facilitate further attacks or compromise of the affected system. The vulnerability affects confidentiality, integrity, and availability as indicated by the CVSS vector.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict user roles that can access forms rendering the vulnerable shortcode, and monitor for suspicious AJAX requests involving the 'path' parameter. Implement additional access control checks (e.g., current_user_can()) in the AJAX handler to limit function invocation to trusted users.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/01/2026, 05:23:45 UTC

Last updated: 07/02/2026, 00:07:59 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses