CVE-2020-15253 Stored XSS in Grocy
Authenticated attackers can inject malicious scripts via various modules in Grocy, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-15253?
CVE-2020-15253 is a high-severity cross-site scripting vulnerability in grocy, published on 14 Oct 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2020-15253?
It affects 1 product.
Products include Grocy Grocy.
How do I fix CVE-2020-15253?
No fix has been published for CVE-2020-15253 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2020-15253 being exploited?
There is no known exploitation of CVE-2020-15253 in the wild and no public exploit code.
Sources
Also known as GHSA-7f37-2fjr-v9p7.