CVE-2025-64291

5.9 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the Premmerce User Roles WordPress plugin allows attackers to inject malicious scripts into web pages. When users view pages containing the injected scripts, the attacker can steal session cookies, redirect users, or perform actions on their behalf. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • Premmerce User Roles WordPress Plugin
Versions: All versions up to and including 1.0.13
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the plugin's input handling during web page generation. All WordPress installations with the vulnerable plugin 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 administrator session cookies, gain administrative access to the WordPress site, install backdoors, deface the site, or steal sensitive user data.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies, redirect users to phishing sites, or perform actions on behalf of authenticated users.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before being stored or displayed to users.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires the attacker to have some level of access to inject malicious scripts, but once stored, the payload executes when users view affected pages.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 1.0.14 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/premmerce-user-roles/vulnerability/wordpress-premmerce-user-roles-plugin-1-0-13-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 'Premmerce User Roles' and click 'Update Now'. 4. Alternatively, download version 1.0.14+ from WordPress.org and manually replace the plugin files.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

WordPress

Disable the vulnerable plugin until patched

wp plugin deactivate premmerce-user-roles

🧯 If You Can't Patch

  • Implement a Web Application Firewall (WAF) with XSS protection rules
  • Enable Content Security Policy (CSP) headers to restrict script execution

🔍 How to Verify

Check if Vulnerable:

Check the plugin version in WordPress admin under Plugins → Installed Plugins

Check Version:

wp plugin get premmerce-user-roles --field=version

Verify Fix Applied:

Verify the plugin version is 1.0.14 or higher after updating

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints
  • Suspicious JavaScript in database entries

Network Indicators:

  • Malicious script payloads in HTTP requests to WordPress admin areas

SIEM Query:

source="wordpress.log" AND ("premmerce-user-roles" OR "user-roles") AND ("script" OR "javascript:" OR "onerror=" OR "onload=")

🔗 References

📤 Share & Export