Skip to main content
Vulnerability Database/CVE-2025-46482

CVE-2025-46482: WP Quiz Plugin Stored XSS Vulnerability

CVE-2025-46482 is a stored cross-site scripting vulnerability in the WP Quiz WordPress plugin that enables attackers to inject malicious scripts. This article covers technical details, affected versions through 2.0.10, security impact, and recommended mitigation strategies.

Published:

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-46482 Overview

CVE-2025-46482 is a stored Cross-Site Scripting (XSS) vulnerability in the MyThemeShop WP Quiz plugin for WordPress. The flaw affects all versions of the wp-quiz plugin up to and including 2.0.10. It stems from improper neutralization of user-supplied input during web page generation, classified as [CWE-79].

An authenticated attacker with low privileges can inject malicious JavaScript that persists in quiz-related content. When administrators or site visitors render the affected pages, the payload executes in their browsers under the site's origin.

Critical Impact

Stored XSS enables session hijacking, credential theft, and administrative account takeover on affected WordPress sites running WP Quiz through 2.0.10.

Affected Products

  • MyThemeShop WP Quiz (wp-quiz) plugin for WordPress
  • All versions from initial release through 2.0.10
  • WordPress sites with the plugin installed and activated

Discovery Timeline

  • 2025-04-25 - CVE-2025-46482 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in the NVD database

Technical Details for CVE-2025-46482

Vulnerability Analysis

The WP Quiz plugin fails to sanitize and encode user input before rendering it in generated HTML output. An authenticated user with contributor-level or higher permissions can submit quiz content that contains JavaScript payloads. The plugin stores this input without applying context-appropriate escaping.

When a browser later renders the affected quiz page, the stored payload executes within the trusted document origin. The vulnerability scope changes to include other components, meaning the injected script can affect resources beyond the vulnerable component itself. User interaction is required for exploitation because the payload triggers when a victim loads the quiz.

Root Cause

The root cause is missing or insufficient output encoding in the plugin's quiz rendering routines. Input persisted through the plugin's administrative interfaces is echoed back into the DOM without HTML entity encoding or attribute-context sanitization. This violates the [CWE-79] guidance for neutralizing script content before web page generation.

Attack Vector

The attack vector is network-based and requires low privileges plus victim interaction. An attacker authenticates to a WordPress instance with a role capable of creating or editing quizzes. They insert a crafted payload into a quiz field that the plugin renders without escaping. When a site administrator or visitor views the quiz, the script executes in their session context, enabling actions such as cookie theft, forced administrative changes, or drive-by redirection. For technical details, see the Patchstack WP Quiz Plugin Vulnerability advisory.

Detection Methods for CVE-2025-46482

Indicators of Compromise

  • Quiz posts or metadata containing <script>, onerror=, onload=, or javascript: sequences in the wp_posts or plugin-specific tables
  • Unexpected outbound requests from browsers loading quiz pages to attacker-controlled domains
  • New WordPress administrator accounts created shortly after quiz content edits by lower-privileged users
  • Modifications to the wp-quiz plugin database entries by non-administrator accounts

Detection Strategies

  • Query WordPress database tables for stored HTML event handlers and script tags within quiz fields
  • Review web server access logs for POST requests to wp-admin/admin-ajax.php and quiz endpoints from low-privileged user sessions
  • Monitor browser Content Security Policy (CSP) violation reports for inline script execution on quiz pages
  • Correlate contributor or author account activity with subsequent administrator session anomalies

Monitoring Recommendations

  • Enable WordPress audit logging for plugin content changes and user role modifications
  • Deploy a Web Application Firewall (WAF) with rules that flag script payloads submitted to WP Quiz endpoints
  • Alert on installations of the wp-quiz plugin at or below version 2.0.10 through periodic asset inventory scans
  • Track browser telemetry for anomalous JavaScript execution on pages hosting quiz shortcodes

How to Mitigate CVE-2025-46482

Immediate Actions Required

  • Identify all WordPress sites running the WP Quiz plugin and confirm the installed version
  • Deactivate the wp-quiz plugin on sites where a patched version is not yet available
  • Audit existing quiz content for stored script payloads and remove suspicious entries
  • Rotate credentials for administrator accounts that may have viewed compromised quiz pages

Patch Information

At the time of NVD publication, no fixed version is listed for the WP Quiz plugin. The advisory covers versions through 2.0.10. Site operators should consult the Patchstack WP Quiz Plugin Vulnerability advisory for the latest patch status and update the plugin as soon as a vendor fix is available.

Workarounds

  • Remove or deactivate the WP Quiz plugin until a patched release is published
  • Restrict quiz creation permissions to trusted administrators only through WordPress role management
  • Deploy WAF virtual patching rules that block script tags and JavaScript event handlers in quiz submission parameters
  • Enforce a strict Content Security Policy that disallows inline script execution on pages rendering quiz content
bash
# Example: locate and deactivate the vulnerable plugin using WP-CLI
wp plugin list --name=wp-quiz --fields=name,status,version
wp plugin deactivate wp-quiz

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.