CVE-2025-6345 SourceCodester My Food Recipe Add Recipe Page add-recipe.php addRecipeModal cross site scripting
Remote attackers can inject malicious scripts via the recipe name field in the add recipe page, potentially compromising user sessions.
- 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-6345?
CVE-2025-6345 is a medium-severity cross-site scripting vulnerability in SourceCodester My Food Recipe, published on 20 Jun 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
A vulnerability was found in SourceCodester My Food Recipe 1.0 and classified as problematic. Affected by this issue is the function addRecipeModal of the file /endpoint/add-recipe.php of the component Add Recipe Page. The manipulation of the argument Name leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-6345?
It affects 1 product.
Products include Rems My Food Recipe.
How do I fix CVE-2025-6345?
No fix has been published for CVE-2025-6345 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-6345 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6345 exists.
Other vulnerabilities in SourceCodester My Food Recipe
Sources
Also known as GHSA-h9pj-gxq9-c5jf.