Description
Frappe ERPNext 14.0.0 before 15.124.0 and 16.x before 16.52.0 contains a stored cross-site scripting vulnerability in the CRM module because notes on Leads and Opportunities are saved without passing through the HTML sanitiser. Authenticated users with the Sales User role can save a note containing a crafted payload that executes in another user's session when they open the record, acting with that user's permissions.
Affected products and versions
frappe erpnext14.0.0 – < 15.124.0Fixed in: 15.124.0
frappe erpnext16.0.0 – < 16.52.0Fixed in: 16.52.0
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Required
- Scope
- Affects other components
- Confidentiality
- Low impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- github.com/frappe/erpnext/security/advisories/GHSA-gj65-6744-3fv4 vendor advisory
- www.vulncheck.com/advisories/frappe-erpnext-14.0.0-before-15.124.0-stored-xss-via-crm-note
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.