CVE-2026-89095: Shortcodes and extra features for Phlox theme <= 2.17.22 - Unauthenticated Local File Inclusion via 'extra_template_path' Parameter
The Shortcodes and extra features for Phlox theme plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.17.22 via the 'extratemplatepath' parameter parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary .php 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 .php file types can be uploaded and included. The slug-based allowlist introduced as the fix for CVE-2023-37888 constrains only the templatepartfile filename suffix and does not validate the extratemplatepath directory component, meaning path traversal sequences are fully functional against this parameter.
Affected Software
Event History
Frequently Asked Questions
Which installations should be treated as exposed?
Any WordPress installation running the Shortcodes and extra features for Phlox theme plugin at version 2.17.22 or earlier is affected. Exploitation does not require an authenticated WordPress account.
What does an attacker need to exploit this issue?
An attacker can use path traversal sequences in the extra_template_path parameter to control the directory component of an included template path. Execution of arbitrary PHP depends on a PHP file being present on the server that can be included; the issue can also expose sensitive data or bypass access controls.
Does the earlier slug-based allowlist prevent exploitation?
No. The allowlist restricts only the template_part_file filename suffix and does not validate the extra_template_path directory component, so traversal sequences remain functional.