Versions of Grocy <= 2.7.1 are vulnerable to Cross-Site Scripting via the Create Shopping List module, that is rendered upon deleting that Shopping List. The issue was also found in users, batteries, chores, equipment, locations, quantity units, shopping locations, tasks, taskcategories, product groups, recipes and products. Authentication is required to exploit these issues and Grocy should not be publicly exposed. The linked reference details a proof-of-concept.
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Link | Tags |
---|---|
https://www.exploit-db.com/exploits/48792 | third party advisory vdb entry exploit |
https://github.com/grocy/grocy/security/advisories/GHSA-7f37-2fjr-v9p7 | third party advisory |
https://github.com/grocy/grocy/issues/996 | third party advisory issue tracking exploit |
https://github.com/grocy/grocy/commit/0624b0df594a4353ef25e6b1874565ea52ce7772 | third party advisory patch |
https://github.com/grocy/grocy/commit/0df2590de27c60c18b7db6e056347bd2aff5a887 | third party advisory patch |