Skip to content

CVE-2026-1257 Administrative Shortcodes <= 0.3.4 - Authenticated (Contributor+) Local File Inclusion via 'slug' Shortcode Attribute

HighCVSS 7.5 EPSS 0.75%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHPWordPress

Description

The Administrative Shortcodes plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 0.3.4 via the 'slug' attribute of the 'get_template' shortcode. This is due to insufficient path validation on user-supplied input passed to the get_template_part() function. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other "safe" file types can be uploaded and included.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
shazdeh Administrative Shortcodes <= 0.3.4 after 0.3.4 Fixed
wordpress administrative-shortcodes(WordPress) <= 0.3.4 after 0.3.4 Fixed

Affected products

ProductAffected versionsFixed in
wordpress administrative-shortcodes(WordPress) <= 0.3.4 No fix listed
shazdeh Administrative Shortcodes <= 0.3.4 No fix listed

References