Mealie vulnerable to a GET-based SSRF in recipe importer (GHSL-2023-225)
CVE-2024-31991Published 19 Apr 2024, 20:42 UTC
Real-world risk
0.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
4.1
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Mealie is a self hosted recipe manager and meal planner. Prior to 1.4.0, the safe_scrape_html function utilizes a user-controlled URL to issue a request to a remote server. Based on the content of the response, it will either parse the content or disregard it. This function, nor those that call it, add any restrictions on the URL that can be provided, nor is it restricted to being an FQDN (i.e., an IP address can be provided). As this function’s return will be handled differently by its caller depending on the response, it is possible for an attacker to use this functionality to positively identify HTTP(s) servers on the local network with any IP/port combination. This issue can result in any authenticated user being able to map HTTP servers on a local network that the Mealie service has access to. Note that by default any user can create an account on a Mealie server, and that the default [email protected] user is available with its hard-coded password. This vulnerability is fixed in 1.4.0.
Am I affected?
What to do
Update to a fixed version: 1.4.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | AdjacentSame Wi-Fi, Bluetooth range or network segment | From the CVSS vector | 0.40 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 27), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.240
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.24 × threat 0.850.612
- Rounded to one decimal between 0.1 and 100.6
Exploitation and evidence timeline
- 19 Apr 2024 Published
- 3 Dec 2026 Risk 0.6 (cvss fallback)
Weakness
CWE-918
References
- https://securitylab.github.com/advisories/GHSL-2023-225_GHSL-2023-226_Mealie/vendor-advisory, x-transferred
- https://github.com/mealie-recipes/mealie/pull/3368misc, x-transferred
- https://github.com/mealie-recipes/mealie/commit/2a3463b7466bc297aede50046da9550d919ec56fmisc, x-transferred
- https://github.com/mealie-recipes/mealie/blob/mealie-next/mealie/services/scraper/scraper_strategies.py#L27-L70misc, x-transferred
- CVE-2024-31991 on CVE.org