Submit #650261: Grocy 4.5.0 Cross Site Scriptinginfo

TitelGrocy 4.5.0 Cross Site Scripting
BeschreibungStored Cross-Site Scripting (XSS) in endpoint recipes field Preparation Summary A Stored Cross-Site Scripting (XSS) vulnerability was identified in the recipes endpoint of the Grocy application. This vulnerability allows attackers to inject malicious scripts into the Preparation field. The injected scripts are stored on the server and executed automatically whenever the affected page is accessed by users, posing a significant security risk. Details Vulnerable Endpoint: recipes Parameter: Preparation The application fails to properly validate and sanitize user inputs in the Preparation field. This lack of validation allows attackers to inject malicious scripts, which are then stored on the server. Whenever the affected page is accessed, the malicious payload is executed in the victim's browser, potentially compromising the user's data and system. PoC Step by Step: Access vulnerable endpoint and click on "Add" button to setup a new entry. Type anything on first field and insert the payload in fourth field ("Preparation"). Click on "Save" and the payload will be activated automatically. Payload: <script>alert('XSS')</script> Image 1: https://hackmd.io/_uploads/SyCC_uncxx.png image 2: https://hackmd.io/_uploads/H1k4Fdncxg.png image 3: https://hackmd.io/_uploads/H1H8F_n5lx.png Impact Stealing session cookies: Attackers can use stolen session cookies to hijack a user's session and perform actions on their behalf; Downloading malware: Attackers can trick users into downloading and installing malware on their computers; Hijacking browsers: Attackers can hijack a user's browser or deliver browser-based exploits; Stealing credentials: Attackers can steal a user's credentials; Obtaining sensitive information: Attackers can obtain sensitive information stored in a user's account or in their browser; Defacing websites: Attackers can deface a website by altering its content. Finder Discovered with???? by Karina Gante.
Quelle⚠️ https://hackmd.io/@noka/rkT8SO3cxx
Benutzer
 karinagante (UID 88113)
Einreichung08.09.2025 19:10 (vor 1 Jahr)
Moderieren18.09.2025 07:16 (10 days later)
StatusDuplikat
VulDB Eintrag165130 [Grocy 2.7.1 Add Recipe Cross Site Scripting]
Punkte0

Do you know our Splunk app?

Download it now for free!