CVE-2025-46478 Overview
CVE-2025-46478 is a stored cross-site scripting (XSS) vulnerability in the metaloha Dropdown Content WordPress plugin. The flaw affects all versions up to and including 1.0.2. Attackers exploit improper neutralization of user input during web page generation, allowing malicious scripts to persist in plugin-managed content. When a victim loads the affected page, the browser executes the stored payload in the victim's session context. The vulnerability is tracked under CWE-79 and requires user interaction to trigger execution.
Critical Impact
Authenticated attackers can inject persistent JavaScript into Dropdown Content output, leading to session theft, credential harvesting, and administrative account takeover when targets visit affected pages.
Affected Products
- metaloha Dropdown Content WordPress plugin (dropdown-content)
- All versions from n/a through 1.0.2
- WordPress sites with the plugin installed and activated
Discovery Timeline
- 2025-04-24 - CVE-2025-46478 published to NVD
- 2026-04-23 - Last updated in NVD database
Technical Details for CVE-2025-46478
Vulnerability Analysis
The Dropdown Content plugin fails to sanitize and encode user-supplied input before rendering it within WordPress pages. The flaw is a stored XSS, meaning malicious payloads are persisted server-side and served to every visitor of the affected resource. Exploitation occurs over the network and requires user interaction, such as visiting a page that renders the injected content. Because the scope changes when the payload executes, the attacker influences resources beyond the vulnerable component, including the visitor's authenticated browser session. The CWE-79 classification confirms the root issue is improper neutralization of input during web page generation.
Root Cause
The plugin accepts input intended for dropdown content rendering without applying WordPress sanitization helpers such as wp_kses_post(), esc_html(), or esc_attr(). Stored values are echoed back into the DOM without contextual output encoding. This allows <script> tags, event handlers, and other JavaScript execution vectors to survive the storage-and-retrieval cycle and execute in the visitor's browser.
Attack Vector
An attacker with permission to configure Dropdown Content entries supplies a payload containing JavaScript through the plugin's input fields. The payload is stored in the WordPress database. When any user, including site administrators, loads a page rendering the malicious entry, the browser parses and executes the script. Attackers leverage this to steal session cookies, perform actions on behalf of administrators, redirect visitors to attacker-controlled domains, or deliver follow-on payloads. See the Patchstack WordPress Vulnerability Report for technical details.
Detection Methods for CVE-2025-46478
Indicators of Compromise
- Unexpected <script>, onerror, onload, or javascript: strings stored in wp_postmeta or plugin option rows tied to dropdown-content.
- Outbound browser requests from site visitors to unfamiliar domains after loading pages containing dropdown widgets.
- New or modified WordPress administrator accounts created shortly after dropdown content changes.
- Session cookies appearing in web server access logs or third-party telemetry referrers.
Detection Strategies
- Inspect plugin-managed database entries for HTML and JavaScript markup that should not be present in user-facing text fields.
- Deploy a Content Security Policy (CSP) in report-only mode and monitor violation reports for inline script execution on pages using the plugin.
- Run automated XSS scanners such as wpscan or nuclei with WordPress plugin templates against the affected installation.
Monitoring Recommendations
- Enable WordPress audit logging to record changes made by plugin editors and capture diffs of stored content.
- Forward web server and WordPress application logs to a centralized analytics platform for correlation against suspicious DOM payloads.
- Alert on administrative actions, such as user role changes, that occur immediately after non-administrative content edits.
How to Mitigate CVE-2025-46478
Immediate Actions Required
- Deactivate and remove the Dropdown Content plugin until a patched version above 1.0.2 is published by the vendor.
- Audit all existing dropdown entries in the database and strip any HTML or JavaScript that should not be present.
- Rotate WordPress administrator credentials and invalidate active sessions if exploitation is suspected.
Patch Information
No fixed version is identified in the available advisory data. The vulnerability affects all releases through 1.0.2. Monitor the Patchstack advisory and the plugin's WordPress.org listing for an official update.
Workarounds
- Restrict access to plugin configuration to trusted administrators only and remove edit capabilities from untrusted contributor or author roles.
- Deploy a web application firewall (WAF) rule that blocks HTML and script tags submitted to dropdown-content endpoints.
- Enforce a strict Content Security Policy that disallows inline script execution on pages rendering dropdown widgets.
# Example: disable the plugin via WP-CLI until a patch is available
wp plugin deactivate dropdown-content
wp plugin delete dropdown-content
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

