CVE-2025-4168: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in codework Subpage List
The Subpage List plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'subpages' shortcode in all versions up to, and including, 1.3.3 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-4168 identifies a stored cross-site scripting (XSS) vulnerability in the Subpage List plugin for WordPress, affecting all versions up to and including 1.3.3. The vulnerability stems from insufficient input sanitization and output escaping of user-supplied attributes within the plugin's 'subpages' shortcode. Authenticated users with contributor-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into pages. When other users access these pages, the injected scripts execute in their browsers, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of the victim. The vulnerability is classified under CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page), a common XSS category. The CVSS 3.1 base score is 6.4, reflecting a medium severity level, with an attack vector of network (remote), low attack complexity, requiring privileges (authenticated contributor or above), no user interaction, and a scope change due to impact on other users. No patches or exploit code are currently publicly available, but the vulnerability is publicly disclosed and cataloged by Wordfence and CISA. The plugin's widespread use in WordPress sites makes this a relevant threat to many web environments that rely on it for page management and navigation.
Potential Impact
The primary impact of CVE-2025-4168 is the potential compromise of user confidentiality and integrity on affected WordPress sites. Exploitation allows attackers with contributor-level access to inject malicious scripts that execute in the browsers of any visitors to the compromised pages. This can lead to theft of session cookies, enabling account takeover, unauthorized actions performed with victim privileges, and exposure of sensitive information. While availability is not directly affected, the reputational damage and potential data breaches can be significant. Organizations relying on the Subpage List plugin for content management risk unauthorized access escalation and data leakage. The vulnerability's requirement for authenticated access limits exposure but does not eliminate risk, especially in environments with multiple contributors or less stringent access controls. The scope is broad since any user viewing the infected page can be impacted, increasing the potential damage. Given WordPress's global popularity, the threat affects a wide range of industries and regions, particularly those with active content management workflows involving multiple contributors.
Mitigation Recommendations
To mitigate CVE-2025-4168, organizations should first check for and apply any official patches or updates from the plugin vendor once available. In the absence of patches, administrators should consider disabling or removing the Subpage List plugin to eliminate the attack surface. Restrict contributor-level permissions carefully, ensuring only trusted users have such access, and audit existing user roles to minimize risk. Implement Web Application Firewall (WAF) rules to detect and block suspicious script injections targeting the 'subpages' shortcode parameters. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. Additionally, conduct regular security reviews of user-generated content and monitor logs for unusual activity indicative of exploitation attempts. Educate contributors about the risks of injecting untrusted content and enforce strict input validation policies. Finally, consider alternative plugins with better security track records if the Subpage List plugin is critical to operations.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, India, Brazil, Japan, Netherlands, Italy, Spain
CVE-2025-4168: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in codework Subpage List
Description
The Subpage List plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'subpages' shortcode in all versions up to, and including, 1.3.3 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-4168 identifies a stored cross-site scripting (XSS) vulnerability in the Subpage List plugin for WordPress, affecting all versions up to and including 1.3.3. The vulnerability stems from insufficient input sanitization and output escaping of user-supplied attributes within the plugin's 'subpages' shortcode. Authenticated users with contributor-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into pages. When other users access these pages, the injected scripts execute in their browsers, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of the victim. The vulnerability is classified under CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page), a common XSS category. The CVSS 3.1 base score is 6.4, reflecting a medium severity level, with an attack vector of network (remote), low attack complexity, requiring privileges (authenticated contributor or above), no user interaction, and a scope change due to impact on other users. No patches or exploit code are currently publicly available, but the vulnerability is publicly disclosed and cataloged by Wordfence and CISA. The plugin's widespread use in WordPress sites makes this a relevant threat to many web environments that rely on it for page management and navigation.
Potential Impact
The primary impact of CVE-2025-4168 is the potential compromise of user confidentiality and integrity on affected WordPress sites. Exploitation allows attackers with contributor-level access to inject malicious scripts that execute in the browsers of any visitors to the compromised pages. This can lead to theft of session cookies, enabling account takeover, unauthorized actions performed with victim privileges, and exposure of sensitive information. While availability is not directly affected, the reputational damage and potential data breaches can be significant. Organizations relying on the Subpage List plugin for content management risk unauthorized access escalation and data leakage. The vulnerability's requirement for authenticated access limits exposure but does not eliminate risk, especially in environments with multiple contributors or less stringent access controls. The scope is broad since any user viewing the infected page can be impacted, increasing the potential damage. Given WordPress's global popularity, the threat affects a wide range of industries and regions, particularly those with active content management workflows involving multiple contributors.
Mitigation Recommendations
To mitigate CVE-2025-4168, organizations should first check for and apply any official patches or updates from the plugin vendor once available. In the absence of patches, administrators should consider disabling or removing the Subpage List plugin to eliminate the attack surface. Restrict contributor-level permissions carefully, ensuring only trusted users have such access, and audit existing user roles to minimize risk. Implement Web Application Firewall (WAF) rules to detect and block suspicious script injections targeting the 'subpages' shortcode parameters. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. Additionally, conduct regular security reviews of user-generated content and monitor logs for unusual activity indicative of exploitation attempts. Educate contributors about the risks of injecting untrusted content and enforce strict input validation policies. Finally, consider alternative plugins with better security track records if the Subpage List plugin is critical to operations.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-01T12:10:06.166Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682d981fc4522896dcbdc8ea
Added to database: 5/21/2025, 9:08:47 AM
Last enriched: 2/27/2026, 2:17:18 PM
Last updated: 3/24/2026, 10:58:33 PM
Views: 54
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.