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

- Severity: High 7.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2026-01-24T07:26:39.850Z
- Modified: 2026-06-17T10:15:24.360Z
- Weaknesses: CWE-98
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- shazdeh Administrative Shortcodes: up to 0.3.4

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/119fe499-88c4-413f-a44a-2b3acfdbdeb5?source=cve>
- <https://plugins.trac.wordpress.org/browser/administrative-shortcodes/trunk/administrative-shortcodes.php#L144>
- <https://wordpress.org/plugins/administrative-shortcodes>
- <https://plugins.trac.wordpress.org/browser/administrative-shortcodes/tags/0.3.4/administrative-shortcodes.php#L144>

## Sources

- CVE List: [CVE-2026-1257](https://www.cve.org/CVERecord?id=CVE-2026-1257), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-1257](https://nvd.nist.gov/vuln/detail/CVE-2026-1257), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-1257 · Whole record: https://cve.day/CVE-2026-1257.json · Rebuilt by cve.day 2026-11-25T22:59:13.162Z
