Skip to main content
VulnerabilityPublished Updated

CVE-2025-6345: SourceCodester My Food Recipe · Cross-site Scripting

Affects SourceCodester My Food RecipeSource CVE Database V5

0

Not known to be exploited · CVSS 5.1 Medium.

Data as of 26 Oct 2026, 09:16 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
SourceCodester My Food RecipeAffected
  • =1.0
Fixed in–

AI-suggested

To mitigate this vulnerability effectively, European organizations should: 1) Immediately apply any available patches or updates from SourceCodester; if none are available, implement manual input validation and output encoding on the 'Name' parameter within the addRecipeModal function to neutralize malicious scripts. 2) Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers accessing the application. 3) Conduct a thorough code review of all user input handling in the application to identify and remediate similar XSS weaknesses. 4) Implement web application firewalls (WAFs) with rules tailored to detect and block XSS payloads targeting the affected endpoints. 5) Educate users and administrators about the risks of XSS and encourage cautious behavior when interacting with recipe submissions or links. 6) Monitor web server logs and user activity for signs of exploitation attempts or unusual behavior. 7) Consider migrating to more secure or actively maintained recipe management platforms if long-term support for this product is uncertain. These steps go beyond generic advice by focusing on specific code-level fixes, security headers, and operational monitoring tailored to the nature of this vulnerability and the affected component.

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.

References

Community reviews

Loading reviews…