# CVE-2025-6345: SourceCodester My Food Recipe Add Recipe Page add-recipe.php addRecipeModal cross site scripting

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-20T14:31:06.277Z
- Modified: 2026-06-17T10:01:39.940Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- SourceCodester My Food Recipe: 1.0
- rems my_food_recipe: 1.0

## Every score

- VulDB: CVSS:4.0 5.1 Medium `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`
- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:UR`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/RaulPazemecxas/PoCVulDb/blob/main/README4.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.313340> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.313340> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.597093> (third-party-advisory, vdb-entry)
- <https://www.sourcecodester.com/> (product)

## Sources

- CVE List: [CVE-2025-6345](https://www.cve.org/CVERecord?id=CVE-2025-6345), CVE Terms of Use, modified 2025-06-23
- NVD: [CVE-2025-6345](https://nvd.nist.gov/vuln/detail/CVE-2025-6345), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-6345 · Whole record: https://cve.day/CVE-2025-6345.json · Rebuilt by cve.day 2026-11-25T22:58:59.464Z
