# CVE-2024-8370: Grocy SVG File Upload recipepictures cross site scripting

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-01T22:00:04.021Z
- Modified: 2026-06-17T08:22:27.163Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability classified as problematic was found in Grocy up to 4.2.0. This vulnerability affects unknown code of the file /api/files/recipepictures/ of the component SVG File Upload Handler. The manipulation of the argument force_serve_as with the input picture' leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. Unfortunately, the project maintainer does not want to be quoted in any way regarding the dispute rationale. The security policy of the project implies that this finding is "practically irrelevant" due to authentication requirements.

(As written by CVE List.)

## Affected

- Grocy: 4.0.0; 4.0.1; 4.0.2; 4.0.3; 4.1.0; 4.2.0
- grocy_project grocy: up to 4.2.0

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://vuldb.com/?submit.400844> (exploit, third-party-advisory, vdb-entry)
- <https://vuldb.com/?id.276274> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.276274> (permissions-required, signature, vdb-entry)

## Sources

- CVE List: [CVE-2024-8370](https://www.cve.org/CVERecord?id=CVE-2024-8370), CVE Terms of Use, modified 2024-09-03
- NVD: [CVE-2024-8370](https://nvd.nist.gov/vuln/detail/CVE-2024-8370), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-8370 · Whole record: https://cve.day/CVE-2024-8370.json · Rebuilt by cve.day 2026-11-25T22:58:44.917Z
