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-54698 Overview
CVE-2025-54698 is a Cross-Site Scripting (XSS) vulnerability in the RadiusTheme Classified Listing plugin for WordPress. The flaw stems from improper neutralization of script-related HTML tags, allowing authenticated attackers to inject malicious content into web pages. The vulnerability affects Classified Listing versions up to and including 5.0.0. Successful exploitation requires low-privilege authentication and user interaction, but the scope is changed, meaning the injected script can impact resources beyond the vulnerable component. The issue is tracked under CWE-80 (Improper Neutralization of Script-Related HTML Tags).
Critical Impact
Authenticated attackers can inject JavaScript into pages rendered by the Classified Listing plugin, enabling session hijacking, credential theft, and administrative action abuse against users who view poisoned content.
Affected Products
- RadiusTheme Classified Listing WordPress plugin (classified-listing)
- All versions from initial release through 5.0.0
- WordPress sites using the plugin for classified ads functionality
Discovery Timeline
- 2025-08-14 - CVE CVE-2025-54698 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-54698
Vulnerability Analysis
The vulnerability resides in the Classified Listing plugin's handling of user-submitted content. The plugin fails to sanitize script-related HTML tags before rendering input in the browser context. An authenticated contributor-level user can inject payloads containing <script> tags or event handlers through listing fields processed by the plugin.
When a victim loads the affected page, the browser executes the injected JavaScript in the context of the WordPress site. The changed scope indicates the payload can access cookies, local storage, and DOM elements outside the plugin's own boundaries. This creates opportunities for session theft and privilege escalation against administrators who review submitted listings.
Root Cause
The root cause is missing or insufficient output encoding on user-controlled fields. The plugin accepts HTML input but does not strip or escape dangerous tags such as <script>, <iframe>, or inline event attributes like onerror and onload. The absence of proper sanitization through WordPress functions like wp_kses() or esc_html() permits persistent XSS payloads to survive storage and execute on retrieval.
Attack Vector
An attacker requires an authenticated account with permission to submit or edit classified listings. The attacker injects a crafted payload into a vulnerable form field. The payload is stored in the WordPress database and rendered to any user who visits the affected listing page, including site administrators. The vulnerability requires user interaction to trigger execution against the victim. Refer to the Patchstack Vulnerability Advisory for additional technical context.
Detection Methods for CVE-2025-54698
Indicators of Compromise
- Unexpected <script>, <iframe>, or javascript: strings stored in wp_posts or plugin-specific tables for Classified Listing entries
- Outbound HTTP requests from browsing sessions to unfamiliar domains after loading classified listing pages
- WordPress administrator sessions terminated or cookies accessed shortly after reviewing user-submitted listings
- New administrator accounts or modified user roles created without authorized activity
Detection Strategies
- Query the WordPress database for listing content containing HTML event handlers (onerror=, onload=, onclick=) or script tags
- Deploy a Web Application Firewall (WAF) rule to flag POST requests to Classified Listing endpoints containing script-related tokens
- Review audit logs for low-privilege accounts creating or editing listings with abnormally large payloads
Monitoring Recommendations
- Enable Content Security Policy (CSP) reporting to capture violations caused by injected inline scripts
- Monitor administrator browser sessions for anomalous JavaScript execution and unauthorized AJAX calls to wp-admin endpoints
- Alert on changes to user roles, options, and plugin configurations originating from unexpected IP addresses
How to Mitigate CVE-2025-54698
Immediate Actions Required
- Upgrade the Classified Listing plugin to a version later than 5.0.0 as soon as the vendor releases a patched release
- Audit all existing classified listings for stored HTML payloads and remove entries containing script tags or event handlers
- Restrict listing submission privileges to trusted users and require moderator approval before publishing
- Rotate administrator credentials and invalidate active sessions if evidence of exploitation is found
Patch Information
At the time of publication, consult the Patchstack Vulnerability Advisory for the latest patched version information. Apply vendor updates through the WordPress plugin management interface and verify the installed version exceeds 5.0.0.
Workarounds
- Temporarily disable the Classified Listing plugin until an updated version is installed and verified
- Deploy a WAF ruleset that blocks requests containing <script, javascript:, and inline event handler patterns targeting plugin endpoints
- Enforce a strict Content Security Policy that disallows inline script execution on pages rendering classified listings
- Remove submission capabilities from untrusted user roles through a role management plugin
# Content Security Policy header example for Apache
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"
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

