Home

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.

PUBLISHED Reserved 2026-01-20 | Published 2026-01-24 | Updated 2026-01-26 | Assigner Wordfence




HIGH: 7.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Product status

Default status
unaffected

* (semver)
affected

Timeline

2026-01-23:Disclosed

Credits

Djaidja Moundjid finder

References

www.wordfence.com/...-88c4-413f-a44a-2b3acfdbdeb5?source=cve

plugins.trac.wordpress.org/.../administrative-shortcodes.php

wordpress.org/plugins/administrative-shortcodes

plugins.trac.wordpress.org/.../administrative-shortcodes.php

cve.org (CVE-2026-1257)

nvd.nist.gov (CVE-2026-1257)

Download JSON