vendor:
grocy
by:
Mufaddal Masalawala
3.1
CVSS
MEDIUM
Persistent Cross-Site Scripting
79
CWE
Product Name: grocy
Affected Version From: 2.7.1
Affected Version To: 2.7.1
Patch Exists: NO
Related CWE: N/A
CPE: a:berrnd:grocy
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Kali Linux 2020.3
2020
grocy 2.7.1 – Persistent Cross-Site Scripting
grocy household management solution v2.7.1, allows stored XSS and HTML Injection, via Create Shopping List module, that is rendered upon deletiing that Shopping List. To exploit this vulnerability, a user must login to the application, go to 'Shooping List' module, click on 'New Shopping List' module, enter the payload: <marquee onstart=alert(document.cookie)> in 'Name' input field, click Save, and click 'Delete Shopping List'.
Mitigation:
Input validation and output encoding should be used to prevent XSS attacks.