CVE-2025-31378

7.1 HIGH

📋 TL;DR

This vulnerability allows attackers to inject malicious scripts into web pages generated by the Oppso Unit Converter WordPress plugin. When users visit specially crafted URLs containing malicious input, their browsers execute the attacker's code in the context of the vulnerable site. All WordPress sites using affected versions of this plugin are vulnerable.

💻 Affected Systems

Products:
  • Oppso Unit Converter WordPress Plugin
Versions: n/a through 1.1.1
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with the vulnerable plugin versions are affected regardless of configuration.

⚠️ 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 user session cookies, redirect users to malicious sites, deface websites, or perform actions on behalf of authenticated users if combined with other vulnerabilities.

🟠

Likely Case

Attackers create phishing links that appear legitimate but execute malicious JavaScript when clicked, potentially stealing user credentials or session data.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be rendered harmless as plain text rather than executable code.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Reflected XSS vulnerabilities are commonly exploited and require minimal technical skill to weaponize.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.1.2 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/oppso-unit-converter/vulnerability/wordpress-oppso-unit-converter-plugin-1-1-1-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find 'Oppso Unit Converter'
4. Click 'Update Now' if update is available
5. If no update appears, manually download version 1.1.2+ from WordPress repository
6. Deactivate old plugin, upload new version, activate

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate oppso-unit-converter

Web Application Firewall (WAF)

all

Configure WAF to block XSS payload patterns in URL parameters

🧯 If You Can't Patch

  • Implement Content Security Policy (CSP) headers to restrict script execution
  • Use input validation filters to sanitize all user-supplied parameters

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for Oppso Unit Converter version

Check Version:

wp plugin get oppso-unit-converter --field=version

Verify Fix Applied:

Verify plugin version is 1.1.2 or higher in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual long URL parameters containing script tags or JavaScript code
  • Multiple failed attempts with suspicious parameter values

Network Indicators:

  • HTTP requests with script tags in query parameters
  • URLs containing javascript: protocol or event handlers

SIEM Query:

source="*access.log*" AND ("<script" OR "javascript:" OR "onerror=" OR "onload=") AND "oppso-unit-converter"

🔗 References

📤 Share & Export