CVE-2026-1257CWE-98

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

High · published January 24, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
54.3
In the wild
Unconfirmed
What it is

⚡ Authenticated attackers, even at Contributor-level access, can use a rogue shortcode to sneak in and execute arbitrary files on your WordPress site. 🔥 Think of it like a sneaky delivery person who knows your office's layout and uses a faulty access badge to get into restricted areas, leaving behind suspicious packages. This vulnerability allows attackers to exploit the plugin's poor validation like that delivery person slipping through the cracks! An attacker could potentially execute malicious PHP code on your server, bypassing access controls and exposing sensitive data. It's like leaving your front door wide open for unwanted guests — they could rummage through your files or even take control of your entire website!

Put simply

Think of it like a sneaky delivery person who knows your office's layout and uses a faulty access badge to get into restricted areas, leaving behind suspicious packages. This vulnerability allows attackers to exploit the plugin's poor validation like that delivery person slipping through the cracks! The Administrative Shortcodes plugin for WordPress is vulnerable to Local File Inclusion due to inadequate path validation in the 'get_template' shortcode's 'slug' attribute, allowing attackers with Contributor-level access to include any file on the server.

What to do

An attacker could potentially execute malicious PHP code on your server, bypassing access controls and exposing sensitive data. It's like leaving your front door wide open for unwanted guests — they could rummage through your files or even take control of your entire website! Immediately update the Administrative Shortcodes plugin to version 0.3.5 or later to patch this vulnerability. Additionally, review user permissions and consider implementing stricter access controls to limit who can utilize the shortcode feature. Regularly audit your plugins for vulnerabilities to keep your site secure! You've got this! Follow these steps, and your WordPress site will be fortified against this vulnerability in no time. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00745 · 54.3th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2026-01-24T07:26Z
EPSS history
Timeline
  • 24 JAN 07:26Z
    Administrative Shortcodes <= 0.3.4 - Authenticated (Contributor+) Local File Inclusion via 'slug' Shortcode Attribute
    cvelistv5