Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2023-48866: n/a

0
Unknown
VulnerabilityCVE-2023-48866cvecve-2023-48866
Published: Mon Dec 04 2023 (12/04/2023, 00:00:00 UTC)
Source: CVE Database V5

Description

A Cross-Site Scripting (XSS) vulnerability in the recipe preparation component within /api/objects/recipes and note component within /api/objects/shopping_lists/ of Grocy <= 4.0.3 allows attackers to obtain the victim's cookies.

AI-Powered Analysis

AILast updated: 10/04/2025, 10:20:32 UTC

Technical Analysis

CVE-2023-48866 is a Cross-Site Scripting (XSS) vulnerability identified in Grocy, an open-source web-based self-hosted groceries and household management solution. The vulnerability affects the recipe preparation component accessible via the /api/objects/recipes endpoint and the note component within the /api/objects/shopping_lists/ endpoint in Grocy versions up to and including 4.0.3. The flaw allows an attacker to inject malicious scripts into these components, which are then executed in the context of a victim's browser when they access the affected endpoints. This execution can lead to the theft of sensitive information such as session cookies, enabling attackers to hijack user sessions or perform unauthorized actions on behalf of the victim. The vulnerability is a classic example of reflected or stored XSS, where user-supplied input is not properly sanitized or escaped before being rendered in the web interface. Although no known exploits are currently reported in the wild, the presence of this vulnerability in a widely used self-hosted application poses a risk, especially for users who deploy Grocy in environments with multiple users or where sensitive data is managed. The lack of a CVSS score indicates that the vulnerability has not yet been fully assessed for severity, but the technical details confirm its potential for significant impact on confidentiality and user trust. No official patches or mitigation links have been provided at the time of this report, emphasizing the need for users to monitor for updates or apply manual mitigations.

Potential Impact

For European organizations using Grocy, particularly small to medium enterprises or community groups managing inventory and household resources, this vulnerability could lead to unauthorized access to user sessions and potentially sensitive operational data. The theft of cookies could allow attackers to impersonate legitimate users, leading to data manipulation, unauthorized changes in inventory or shopping lists, and potential exposure of internal processes. Since Grocy is often self-hosted, organizations with less mature IT security practices may be more vulnerable to exploitation. The impact extends beyond data confidentiality to include integrity and availability if attackers modify or delete critical data. Additionally, organizations subject to GDPR must consider the regulatory implications of a data breach resulting from this vulnerability, including potential fines and reputational damage. The absence of known exploits suggests a window of opportunity for proactive mitigation, but also means that attackers could develop exploits targeting European deployments, especially where Grocy is integrated into business workflows.

Mitigation Recommendations

European organizations should immediately audit their Grocy installations to determine if they are running version 4.0.3 or earlier. Until an official patch is released, administrators should consider the following mitigations: 1) Restrict access to the Grocy web interface to trusted networks or VPNs to reduce exposure to external attackers. 2) Implement web application firewalls (WAF) with rules designed to detect and block common XSS attack patterns targeting the affected endpoints. 3) Educate users about the risks of clicking on suspicious links or inputting untrusted data into Grocy components. 4) Review and sanitize any user-generated content in the recipe and shopping list notes to remove potentially malicious scripts. 5) Monitor logs for unusual activity or repeated access attempts to the vulnerable API endpoints. 6) Stay informed about official patches or updates from the Grocy project and apply them promptly once available. 7) Consider deploying Content Security Policy (CSP) headers to limit the execution of unauthorized scripts within the Grocy web interface.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2023-11-20T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 68e0f3c6b66c7f7acdd3ea91

Added to database: 10/4/2025, 10:15:34 AM

Last enriched: 10/4/2025, 10:20:32 AM

Last updated: 10/16/2025, 12:42:29 PM

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats