CVE-2025-10182

6.4 MEDIUM

📋 TL;DR

The dbview WordPress plugin has a stored XSS vulnerability in versions up to 0.5.5 that allows authenticated attackers with contributor-level access or higher to inject malicious scripts via the 'dbview' shortcode. These scripts execute when users view compromised pages, potentially stealing credentials or performing unauthorized actions. WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • WordPress dbview plugin
Versions: All versions up to and including 0.5.5
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires attacker to have at least contributor-level access to WordPress. Plugin must be active and shortcode used on pages.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator credentials, deface websites, redirect users to malicious sites, or perform actions as authenticated users, potentially leading to complete site compromise.

🟠

Likely Case

Attackers with contributor access inject malicious scripts that steal user session cookies or credentials when visitors view compromised pages, leading to account takeover.

🟢

If Mitigated

With proper user role management and input validation, impact is limited to low-privilege user sessions on affected pages only.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Requires authenticated access (contributor or higher). Exploitation involves injecting malicious attributes into dbview shortcode.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 0.5.6 or later

Vendor Advisory: https://plugins.trac.wordpress.org/browser/dbview/trunk/DBView.class.php#L459

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'dbview' plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin, then install latest version from WordPress repository.

🔧 Temporary Workarounds

Remove Contributor Access

all

Temporarily restrict contributor-level access until patch is applied

Disable Plugin

all

Deactivate dbview plugin if functionality is not critical

🧯 If You Can't Patch

  • Implement strict user role management - limit contributor accounts
  • Add web application firewall rules to block XSS payloads in shortcode attributes

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for dbview plugin version 0.5.5 or earlier

Check Version:

wp plugin list --name=dbview --field=version

Verify Fix Applied:

Verify dbview plugin version is 0.5.6 or later in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to wp-admin with dbview shortcode parameters containing script tags or JavaScript

Network Indicators:

  • HTTP requests with malicious script payloads in dbview shortcode attributes

SIEM Query:

source="wordpress" AND (uri_path="*/wp-admin/*" OR uri_path="*/wp-json/*") AND (http_method="POST" OR http_method="PUT") AND (query_string="*dbview*" OR body="*dbview*") AND (body="*<script*" OR body="*javascript:*" OR body="*onload=*" OR body="*onerror=*")

🔗 References

📤 Share & Export