CVE-2025-6345 Details
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.
A stored cross-site scripting vulnerability has been identified in SourceCodester My Food Recipe version 1.0. The issue occurs in the 'Add Recipe' feature, specifically within the 'addRecipeModal' function of the '/endpoint/add-recipe.php' file. The vulnerability arises because user input for the 'Name' argument is not properly sanitized before being saved and displayed, allowing the execution of arbitrary JavaScript in the context of other users' sessions. This vulnerability can be exploited remotely and requires user interaction.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/RaulPazemecxas/PoCVulDb/blob/main/README4.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.313340 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.313340 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.597093 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.sourcecodester.com/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rems my food recipe | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jun 26, 2025 | Initial Analysis | [email protected] |
| Jun 20, 2025 | New CVE Received | [email protected] |