← Back to CVE Explorer

CVE-2025-56795

Full vulnerability record from the local CVENow database.

Description

Mealie 3.0.1 and earlier is vulnerable to Stored Cross-Site Scripting (XSS) in the recipe creation functionality. Unsanitized user input in the "note" and "text" fields of the "/api/recipes/{recipe_name}" endpoint is rendered in the frontend without proper escaping leading to persistent XSS.

Severity
CRITICAL
CVSS score
9.0 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2025-09-29 17:15:31.960000
Last modified
2026-11-07 17:10:00.240000
View original CVE JSON
{
  "id": "CVE-2025-56795",
  "sourceIdentifier": "[email protected]",
  "published": "2025-09-29T17:15:31.960",
  "lastModified": "2026-11-07T17:10:00.240",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Mealie 3.0.1 and earlier is vulnerable to Stored Cross-Site Scripting (XSS) in the recipe creation functionality. Unsanitized user input in the \"note\" and \"text\" fields of the \"/api/recipes/{recipe_name}\" endpoint is rendered in the frontend without proper escaping leading to persistent XSS."
    },
    {
      "lang": "es",
      "value": "Mealie 3.0.1 y versiones anteriores es vulnerable a cross-site scripting almacenado (XSS) en la funcionalidad de creación de recetas. La entrada de usuario no saneada en los campos ’note’ y ’text’ del endpoint ’/api/recipes/{recipe_name}’ se renderiza en el frontend sin un escape adecuado, lo que lleva a XSS persistente."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "n/a",
          "product": "n/a",
          "versions": [
            {
              "version": "n/a",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
          "baseScore": 9.0,
          "baseSeverity": "CRITICAL",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "REQUIRED",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 2.3,
        "impactScore": 6.0
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2025-10-01T17:31:27.680201Z",
          "id": "CVE-2025-56795",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:mealie:mealie:*:*:*:*:*:*:*:*",
              "versionEndIncluding": "3.0.1",
              "matchCriteriaId": "AF678131-F25C-445A-95A1-F08DA4FD6C60"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/B1tBreaker/CVE-2025-56795",
      "source": "[email protected]",
      "tags": [
        "Exploit"
      ]
    },
    {
      "url": "https://github.com/mealie-recipes/mealie/issues/5677",
      "source": "[email protected]",
      "tags": [
        "Exploit",
        "Issue Tracking"
      ]
    },
    {
      "url": "https://github.com/mealie-recipes/mealie/pull/5754",
      "source": "[email protected]",
      "tags": [
        "Issue Tracking",
        "Patch"
      ]
    }
  ]
}