CVE-2025-56795 Cross-site scripting in n/a

Critical 9.0 Published Updated

Attackers can inject malicious scripts via recipe notes, leading to persistent XSS and potential account takeover in Mealie.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-56795?

CVE-2025-56795 is a critical cross-site scripting vulnerability in n/a, published on 29 Sep 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2025-56795?

It affects 1 product.

Products include Mealie Mealie.

How do I fix CVE-2025-56795?

No fix has been published for CVE-2025-56795 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-2025-56795 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-56795 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-wwm7-v4rv-ggff.

Is CVE-2025-56795 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free