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 is a medium-severity Stored Cross-Site Scripting (XSS) vulnerability affecting the Subpage List plugin for WordPress, developed by codework. This vulnerability exists in all versions up to and including 1.3.3 of the plugin. The root cause is insufficient input sanitization and output escaping of user-supplied attributes in the plugin's 'subpages' shortcode. Specifically, authenticated users with contributor-level access or higher can inject arbitrary malicious scripts into pages via this shortcode. These scripts are stored persistently and execute whenever any user accesses the compromised page, leading to potential session hijacking, defacement, or redirection to malicious sites. The vulnerability is classified under CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page), indicating that the plugin fails to properly sanitize HTML or script tags before rendering them in the browser. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges (contributor or above), no user interaction, and a scope change. The impact affects confidentiality and integrity but not availability. No known exploits are currently reported in the wild, and no official patches have been linked yet. However, the vulnerability is publicly disclosed and should be addressed promptly to prevent exploitation.
Potential Impact
For European organizations using WordPress sites with the Subpage List plugin, this vulnerability poses a significant risk. Since contributors or higher privileged users can inject malicious scripts, insider threats or compromised contributor accounts could lead to persistent XSS attacks. This can result in theft of session cookies, unauthorized actions on behalf of users, defacement of websites, or distribution of malware to visitors. Organizations relying on WordPress for public-facing websites, intranets, or customer portals may face reputational damage, data breaches, and regulatory compliance issues under GDPR if personal data is compromised. The scope of impact is heightened in sectors with high web presence such as e-commerce, media, education, and government services. The vulnerability's exploitation does not require user interaction, increasing the risk of automated or widespread attacks. Additionally, the scope change in CVSS indicates that the vulnerability can affect resources beyond the initially compromised component, potentially impacting other parts of the web application or user sessions.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations to identify the presence of the Subpage List plugin and confirm the version in use. Until an official patch is released, practical mitigations include: 1) Restrict contributor-level access strictly to trusted users and review user permissions to minimize risk. 2) Implement Web Application Firewall (WAF) rules to detect and block suspicious script injections targeting the 'subpages' shortcode parameters. 3) Employ Content Security Policy (CSP) headers to restrict execution of unauthorized scripts on affected sites. 4) Sanitize and validate all user inputs at the application level, possibly by customizing or overriding the plugin's shortcode handler to enforce strict escaping. 5) Monitor web server and application logs for unusual activities or script injection attempts. 6) Educate content contributors about the risks and signs of XSS attacks. Once a patch is available, prioritize timely updates of the plugin. Additionally, consider isolating critical WordPress instances and backing up data regularly to enable quick recovery if exploitation occurs.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Poland, Sweden
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
Technical Analysis
CVE-2025-4168 is a medium-severity Stored Cross-Site Scripting (XSS) vulnerability affecting the Subpage List plugin for WordPress, developed by codework. This vulnerability exists in all versions up to and including 1.3.3 of the plugin. The root cause is insufficient input sanitization and output escaping of user-supplied attributes in the plugin's 'subpages' shortcode. Specifically, authenticated users with contributor-level access or higher can inject arbitrary malicious scripts into pages via this shortcode. These scripts are stored persistently and execute whenever any user accesses the compromised page, leading to potential session hijacking, defacement, or redirection to malicious sites. The vulnerability is classified under CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page), indicating that the plugin fails to properly sanitize HTML or script tags before rendering them in the browser. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges (contributor or above), no user interaction, and a scope change. The impact affects confidentiality and integrity but not availability. No known exploits are currently reported in the wild, and no official patches have been linked yet. However, the vulnerability is publicly disclosed and should be addressed promptly to prevent exploitation.
Potential Impact
For European organizations using WordPress sites with the Subpage List plugin, this vulnerability poses a significant risk. Since contributors or higher privileged users can inject malicious scripts, insider threats or compromised contributor accounts could lead to persistent XSS attacks. This can result in theft of session cookies, unauthorized actions on behalf of users, defacement of websites, or distribution of malware to visitors. Organizations relying on WordPress for public-facing websites, intranets, or customer portals may face reputational damage, data breaches, and regulatory compliance issues under GDPR if personal data is compromised. The scope of impact is heightened in sectors with high web presence such as e-commerce, media, education, and government services. The vulnerability's exploitation does not require user interaction, increasing the risk of automated or widespread attacks. Additionally, the scope change in CVSS indicates that the vulnerability can affect resources beyond the initially compromised component, potentially impacting other parts of the web application or user sessions.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations to identify the presence of the Subpage List plugin and confirm the version in use. Until an official patch is released, practical mitigations include: 1) Restrict contributor-level access strictly to trusted users and review user permissions to minimize risk. 2) Implement Web Application Firewall (WAF) rules to detect and block suspicious script injections targeting the 'subpages' shortcode parameters. 3) Employ Content Security Policy (CSP) headers to restrict execution of unauthorized scripts on affected sites. 4) Sanitize and validate all user inputs at the application level, possibly by customizing or overriding the plugin's shortcode handler to enforce strict escaping. 5) Monitor web server and application logs for unusual activities or script injection attempts. 6) Educate content contributors about the risks and signs of XSS attacks. Once a patch is available, prioritize timely updates of the plugin. Additionally, consider isolating critical WordPress instances and backing up data regularly to enable quick recovery if exploitation occurs.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
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: 7/7/2025, 12:56:41 AM
Last updated: 7/28/2025, 9:40:21 PM
Views: 13
Related Threats
CVE-2025-8971: SQL Injection in itsourcecode Online Tour and Travel Management System
MediumCVE-2025-8970: SQL Injection in itsourcecode Online Tour and Travel Management System
MediumCVE-2025-50515: n/a
UnknownCVE-2025-50817: n/a
UnknownCVE-2025-55195: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in denoland std
HighActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.