CVE-2025-10132

6.4 MEDIUM

📋 TL;DR

The Dhivehi Text WordPress plugin has a stored XSS vulnerability in all versions up to 0.1. Authenticated attackers with contributor-level access or higher can inject malicious scripts via the 'dhivehi' shortcode attributes, which execute when users view affected pages. This affects all WordPress sites using vulnerable versions of this plugin.

💻 Affected Systems

Products:
  • Dhivehi Text WordPress Plugin
Versions: All versions up to and including 0.1
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with plugin enabled and at least one user with contributor-level permissions.

⚠️ 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 admin credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers with contributor accounts inject malicious scripts to steal user session cookies or display phishing content to visitors.

🟢

If Mitigated

With proper user access controls and input validation, impact is limited to potential data exposure from compromised contributor accounts.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Requires authenticated access with contributor privileges or higher. Exploitation involves crafting malicious shortcode attributes.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 0.1

Vendor Advisory: https://plugins.trac.wordpress.org/browser/dhivehi-text/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Dhivehi Text plugin. 4. Click 'Update Now' if update available. 5. If no update, deactivate and delete plugin immediately.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily deactivate the Dhivehi Text plugin until patched version is available.

wp plugin deactivate dhivehi-text

Remove Contributor Shortcode Access

all

Modify user roles to prevent contributors from using shortcodes in posts.

🧯 If You Can't Patch

  • Remove plugin completely and find alternative solution for Dhivehi text functionality
  • Implement web application firewall (WAF) rules to block XSS payloads in shortcode attributes

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Dhivehi Text. If version is 0.1 or lower, you are vulnerable.

Check Version:

wp plugin get dhivehi-text --field=version

Verify Fix Applied:

After update, verify plugin version is higher than 0.1. Test shortcode functionality with safe test payloads.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to wp-admin with dhivehi shortcode parameters
  • Multiple failed login attempts followed by successful contributor login

Network Indicators:

  • Outbound connections to suspicious domains after visiting specific pages
  • Unusual JavaScript loading patterns

SIEM Query:

source="wordpress.log" AND ("dhivehi" OR "shortcode") AND ("script" OR "onerror" OR "javascript:")

🔗 References

📤 Share & Export