List Pages Shortcode
List Pages Shortcode has one disclosed vulnerability in the WordSec catalog, all reported in 2023; it is fixed as of September 2026. Their average CVSS score is 6.4, and the most serious one scores 6.4 out of 10.
The most common weakness is Cross-Site Scripting, behind 1 of the records (100%).
The one issue recorded for List Pages Shortcode has a vendor fix available, so running the current release closes it.
All of these findings were reported by István Márton. List Pages Shortcode is installed on roughly 5,000 WordPress sites, so each unpatched flaw has a wide blast radius. The current release is tested up to WordPress 6.1.12.
CVE-2022-4757List Pages Shortcode <= 1.7.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
Read the full analysisVulnerability Records

List Pages Shortcode
Author
Aaron Harp
Introduces the [list-pages], [sibling-pages] and [child-pages] shortcodes for easily displaying a list of pages within a post or page. Both shortcodes accept all parameters that you can pass to the wp_list_pages() function with the addition of a class parameter. Example Usage List pages sorted by title [list-pages sort_column="post_title"] List pages but exclude certain IDs and set the class of the list to “my-page-list” [list-pages exclude="17,38" class="my-page-list"] Show excerpt (for pages excerpt support will need adding manually or via the Page Excerpt plugin) [list-pages excerpt="1"] List the current page’s children, but only show the top level [child-pages depth="1"] List the current page’s siblings and their subpages [sibling-pages depth="2"] Default Arguments The default values are the same as for the wp_list_pages() function except for title_li which defaults to nothing. If a class is not specified, a default class of either “list-pages”, “sibling-pages” or “child-pages” is given to the UL tag. In addition, the echo parameter has no effect. In addition to the wp_list_pages() arguments, you can also specify: list_type (string) List tag. Defaults to <ul>. exclude_current_page (int) Exclude the current page. Defaults to 0. excerpt (int) Show the page excerpt. Defaults to 0.
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C