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

CVE-2025-24678: Listamester Plugin Stored XSS Vulnerability

CVE-2025-24678 is a stored cross-site scripting vulnerability in the Listamester plugin that allows attackers to inject malicious scripts into web pages. This article covers the technical details, affected versions, and mitigation.

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

CVE-2025-24678 is a stored Cross-Site Scripting (XSS) vulnerability in the Listamester WordPress plugin. The flaw affects all plugin versions up to and including 2.3.4 and stems from improper neutralization of script-related HTML tags in a web page [CWE-80]. An authenticated attacker with low privileges can inject malicious script content that persists in the application and executes in the browsers of users who view the affected page.

Critical Impact

Attackers with low-privilege authenticated access can store malicious JavaScript that executes in visitor and administrator browsers, enabling session theft, forced actions, and content tampering across the WordPress site.

Affected Products

  • Listamester WordPress plugin versions through 2.3.4
  • WordPress installations with the Listamester plugin enabled
  • Any site presenting Listamester-rendered content to end users

Discovery Timeline

  • 2025-01-24 - CVE CVE-2025-24678 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-24678

Vulnerability Analysis

The vulnerability is a stored XSS issue classified under [CWE-80]: Improper Neutralization of Script-Related HTML Tags in a Web Page. The Listamester plugin accepts user-supplied input and renders it in HTML output without sufficient sanitization or encoding of basic script tags and event handler attributes. Because the payload is stored in the WordPress database, it executes every time an affected page is loaded, extending impact beyond the attacker to any user viewing the rendered content.

The scope is marked as changed, meaning injected scripts execute in a security context different from the vulnerable component. Successful exploitation allows attackers to run arbitrary JavaScript in the context of the WordPress origin, exposing cookies, local storage, and authenticated session actions.

Root Cause

The plugin fails to apply WordPress sanitization helpers such as wp_kses(), esc_html(), or esc_attr() to user-controlled fields before persisting them or echoing them back into page markup. This allows raw <script> tags and HTML event attributes to survive storage and reach the DOM intact.

Attack Vector

Exploitation requires network access to the WordPress site, low-privilege authenticated credentials, and user interaction from the victim. The attacker submits crafted HTML or JavaScript through an input field exposed by Listamester. When another user, including an administrator, loads a page containing the stored payload, the script executes in their browser session. Technical details are documented in the Patchstack advisory.

Detection Methods for CVE-2025-24678

Indicators of Compromise

  • Unexpected <script>, <iframe>, or event handler attributes (onerror, onload) in Listamester-managed records within the WordPress database
  • Outbound HTTP requests from browsers to attacker-controlled domains after loading plugin-rendered pages
  • Administrator session cookies or nonces appearing in web server access logs with unusual referrers
  • New WordPress administrator accounts or plugin installations with no corresponding audit trail

Detection Strategies

  • Query the wp_posts and plugin-specific tables for records containing <script, javascript:, or on\w+= patterns using SQL regular expressions
  • Enable Content Security Policy (CSP) reporting to capture script-source violations originating from plugin pages
  • Review WordPress audit logs for low-privilege accounts (Subscriber, Contributor) submitting Listamester content

Monitoring Recommendations

  • Monitor web application firewall logs for XSS payload patterns targeting Listamester endpoints
  • Alert on changes to administrator accounts, roles, or installed plugins following interaction with plugin-rendered pages
  • Track browser error telemetry and CSP violation reports from authenticated administrative sessions

How to Mitigate CVE-2025-24678

Immediate Actions Required

  • Update the Listamester plugin to a version later than 2.3.4 once the vendor publishes a fix
  • Audit existing Listamester records in the database and remove any entries containing script tags or event handler attributes
  • Restrict account creation and reduce privileges for users who do not require content submission capabilities
  • Rotate administrator session cookies and credentials if evidence of exploitation is identified

Patch Information

At the time of publication, the vulnerability affects all Listamester versions up to and including 2.3.4. Monitor the Patchstack advisory for patched release information and apply the fixed version as soon as it becomes available.

Workarounds

  • Deactivate the Listamester plugin until a patched version is released if the functionality is not business-critical
  • Deploy a web application firewall rule to block requests containing script tags or JavaScript URIs targeting plugin endpoints
  • Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
  • Limit Listamester submission capabilities to trusted roles and require review before content is published
bash
# Example WordPress CLI commands to disable the plugin and audit stored content
wp plugin deactivate listamester
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_content REGEXP '<script|javascript:|on[a-z]+=';"

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.