Cross Site Scripting in My Food Recipe by SourceCodester
CVE-2025-6345

5.1MEDIUM

Key Information:

Vendor
CVE Published:
20 June 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2025-6345?

A Cross Site Scripting (XSS) vulnerability has been identified in the SourceCodester My Food Recipe 1.0 application. The issue resides in the 'addRecipeModal' function within the '/endpoint/add-recipe.php' file, where improper handling of the 'Name' argument allows attackers to inject malicious scripts. This vulnerability enables remote attackers to execute arbitrary JavaScript in the context of the affected web application, potentially compromising user data and session information. Public exploitation of this flaw has been disclosed, heightening the need for immediate remediation to safeguard against potential attacks.

Affected Version(s)

My Food Recipe 1.0

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

RaulPACXXX (VulDB User)
.
CVE-2025-6345 : Cross Site Scripting in My Food Recipe by SourceCodester