Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-60146 Overview
CVE-2025-60146 is a stored cross-site scripting (XSS) vulnerability [CWE-79] in the Map Categories to Pages WordPress plugin by Amit Verma. The flaw affects all versions up to and including 1.3.2. An authenticated attacker with high privileges can inject malicious script content that persists in the plugin's data. The payload executes in the browsers of users who later interact with the affected pages. Exploitation requires user interaction and crosses a trust boundary, allowing the injected script to affect resources beyond the vulnerable component.
Critical Impact
Stored XSS in the map-categories-to-pages plugin enables attackers to persist malicious JavaScript that executes against site visitors and administrators, potentially leading to session hijacking or unauthorized actions in the WordPress admin context.
Affected Products
- Map Categories to Pages WordPress plugin by Amit Verma
- All versions from n/a through 1.3.2
- WordPress installations using the map-categories-to-pages plugin
Discovery Timeline
- 2025-09-26 - CVE-2025-60146 published to NVD
- 2026-10-11 - Last updated in NVD database
Technical Details for CVE-2025-60146
Vulnerability Analysis
The vulnerability is a stored cross-site scripting flaw in the Map Categories to Pages plugin. The plugin fails to properly neutralize user-supplied input before rendering it as part of a web page. An attacker with administrative privileges supplies crafted input through a plugin field. The input is stored in the WordPress database without sufficient output encoding or input sanitization. When another user loads a page that includes the stored content, the browser interprets the payload as executable JavaScript. The scope-change component of the vulnerability means the injected script can affect resources beyond the plugin's own context, such as the broader WordPress admin interface.
Root Cause
The root cause is improper neutralization of input during web page generation, classified as [CWE-79]. The plugin accepts input from privileged users and persists it without applying WordPress output-escaping functions such as esc_html(), esc_attr(), or wp_kses() before rendering. This gap allows HTML and JavaScript syntax in stored values to be interpreted by the browser rather than displayed as literal text.
Attack Vector
Exploitation requires network access to the WordPress site, high privileges on the target instance, and user interaction with the affected page. An attacker with an authenticated admin-level account submits a payload containing JavaScript through a plugin input field. The payload is stored persistently. When a victim visits a page rendering that stored value, the script executes in their browser session. Technical details are documented in the Patchstack Vulnerability Report.
Detection Methods for CVE-2025-60146
Indicators of Compromise
- Unexpected <script> tags, inline event handlers (onerror, onload), or javascript: URIs stored in plugin-managed options or post metadata.
- Outbound requests from administrator browsers to unfamiliar domains shortly after loading pages that use the map-categories-to-pages plugin.
- New or modified WordPress administrator accounts created without an audit trail of legitimate admin activity.
Detection Strategies
- Audit plugin-controlled database rows for HTML or JavaScript syntax that should not appear in category-to-page mapping configuration.
- Review WordPress access logs for POST requests to plugin administrative endpoints originating from unexpected user accounts or IP addresses.
- Deploy a web application firewall rule set that inspects admin-area POST bodies for XSS payload patterns and alerts on matches.
Monitoring Recommendations
- Monitor administrator sessions for anomalous JavaScript execution and unexpected XHR activity using browser-side telemetry or endpoint detection.
- Alert on changes to WordPress user roles, capability assignments, and option values written by the plugin.
- Track plugin version inventory across managed WordPress sites to confirm all instances are above 1.3.2 once a patched release is available.
How to Mitigate CVE-2025-60146
Immediate Actions Required
- Identify all WordPress sites running the Map Categories to Pages plugin at version 1.3.2 or earlier.
- Restrict administrator account issuance and enforce multi-factor authentication to reduce the pool of accounts that could exploit this flaw.
- Review existing plugin configuration data and remove any stored content containing script tags or event-handler attributes.
Patch Information
At the time of publication, no fixed version has been identified. Monitor the Patchstack Vulnerability Report and the plugin's WordPress.org page for an updated release above 1.3.2.
Workarounds
- Deactivate and remove the map-categories-to-pages plugin until a patched version is released, substituting equivalent native WordPress functionality where possible.
- Apply a web application firewall policy that blocks POST requests containing XSS payload patterns to WordPress admin endpoints.
- Enforce a strict Content Security Policy that disallows inline script execution to limit the impact of any stored payload.
# Disable the vulnerable plugin via WP-CLI
wp plugin deactivate map-categories-to-pages
wp plugin delete map-categories-to-pages
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

