vendor:
ERPNext
by:
Patrick Dean Ramos / Nathu Nandwani / Junnair Manla
6.1
CVSS
MEDIUM
Stored Cross-Site Scripting (XSS)
79
CWE
Product Name: ERPNext
Affected Version From: 12.29.0
Affected Version To: 12.29.0
Patch Exists: YES
Related CWE: CVE-2022-28598
CPE: a:erpnext:erpnext:12.29.0
Platforms Tested:
2023
ERPNext 12.29 – Cross-Site Scripting (XSS)
Stored cross-site scripting (XSS) vulnerability was found in ERPNext 12.29 where the 'last_known_version' field found in the 'My Setting' page in ERPNext 12.29.0 allows remote attackers to inject arbitrary web script or HTML via a crafted site name by doing an authenticated POST HTTP request to '/desk#Form/User/(Authenticated User)' and inject the script in the 'last_known_version' field where we are able to view the script by clicking the 'pdf' view form.
Mitigation:
Ensure that user input is properly sanitized and validated before being used in the application.