一、 漏洞 CVE-2025-6345 基础信息
漏洞信息
                                        # SourceCodester 食谱插件 add-recipe.php 中 addRecipeModal 参数存在的跨站脚本漏洞

## 概述
SourceCodester My Food Recipe 1.0 中发现了一个漏洞,该漏洞被分类为问题性的。问题出现在文件 `/endpoint/add-recipe.php` 中的 `addRecipeModal` 函数,涉及“添加食谱页面”组件。通过操纵参数 `Name` 可导致跨站脚本攻击(XSS)。该攻击可远程发起,且已公开。

## 影响版本
- SourceCodester My Food Recipe 1.0

## 细节
受影响的功能是文件 `/endpoint/add-recipe.php` 中的 `addRecipeModal` 函数。通过操纵参数 `Name` 导致跨站脚本(XSS)漏洞。攻击者通过远程操作可触发此漏洞,且该漏洞的攻击方法已公开。

## 影响
该漏洞允许攻击者通过操纵参数 `Name` 发起跨站脚本攻击(XSS),攻击可远程进行,对用户和系统造成潜在威胁。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
SourceCodester My Food Recipe Add Recipe Page add-recipe.php addRecipeModal cross site scripting
来源:美国国家漏洞数据库 NVD
漏洞描述信息
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.
来源:美国国家漏洞数据库 NVD
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
来源:美国国家漏洞数据库 NVD
漏洞类别
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
来源:美国国家漏洞数据库 NVD
漏洞标题
SourceCodester My Food Recipe 代码注入漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
SourceCodester My Food Recipe是SourceCodester开源的一个关于食谱分享Web应用。 SourceCodester My Food Recipe 1.0版本存在代码注入漏洞,该漏洞源于对文件/endpoint/add-recipe.php中参数Name的错误操作导致跨站脚本。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
代码注入
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-6345 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2025-6345 的情报信息
  • 标题: File not found · GitHub -- 🔗来源链接

    标签: exploit

    神龙速读
  • 标题: Free Source Code Projects and Tutorials - sourcecodester.com -- 🔗来源链接

    标签: product

  • 标题: Login required -- 🔗来源链接

    标签: signature permissions-required

    神龙速读
  • 标题: Submit #597093: SourceCodester My Food Recipe 1.0 Stored Cross Site Scripting -- 🔗来源链接

    标签: third-party-advisory

    神龙速读
  • 标题: CVE-2025-6345 SourceCodester My Food Recipe Add Recipe Page add-recipe.php addRecipeModal cross site scripting -- 🔗来源链接

    标签: vdb-entry technical-description

    神龙速读
  • https://nvd.nist.gov/vuln/detail/CVE-2025-6345