CVE-2024-37304 (CNNVD-202406-1290)

MEDIUM
中文标题:
NuGet Gallery 安全漏洞
英文标题:
NuGetGallery's Markdown Autolinks Processing Vulnerable to Cross-site Scripting
CVSS分数: 6.1
发布时间: 2024-06-12 14:27:40
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

NuGet Gallery是NuGet开源的一个支持NuGet的软件包存储库。 NuGet Gallery 2024.05.28之前版本存在安全漏洞,该漏洞源于处理Markdown内容中的自动链接时的不当清理,容易受到跨站脚本攻击。

英文描述:

NuGet Gallery is a package repository that powers nuget.org. The NuGetGallery has a security vulnerability related to its handling of autolinks in Markdown content. While the platform properly filters out JavaScript from standard links, it does not adequately sanitize autolinks. This oversight allows attackers to exploit autolinks as a vector for Cross-Site Scripting (XSS) attacks. When a user inputs a Markdown autolink such as `<javascript:alert(1)>`, the link is rendered without proper sanitization. This means that the JavaScript code within the autolink can be executed by the browser, leading to an XSS attack. Version 2024.05.28 contains a patch for this issue.

CWE类型:
CWE-79
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
NuGet NuGetGallery < 2024.05.28 - - cpe:2.3:a:nuget:nugetgallery:<_2024.05.28:*:*:*:*:*:*:*
microsoft nugetgallery * - - cpe:2.3:a:microsoft:nugetgallery:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-gwjh-c548-f787 x_refsource_CONFIRM
cve.org
访问
https://github.com/NuGet/NuGetGallery/pull/9836 x_refsource_MISC
cve.org
访问
https://github.com/NuGet/NuGetGallery/commit/c52b023659f4ad7b626874c1063f2b5e878a4fe0 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
MEDIUM
6.1
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
机密性
LOW
完整性
LOW
可用性
NONE
时间信息
发布时间:
2024-06-12 14:27:40
修改时间:
2024-08-02 03:50:55
创建时间:
2025-11-11 15:39:27
更新时间:
2025-11-11 15:58:52
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2024-37304 2025-11-11 15:22:37 2025-11-11 07:39:27
NVD nvd_CVE-2024-37304 2025-11-11 14:59:56 2025-11-11 07:47:25
CNNVD cnnvd_CNNVD-202406-1290 2025-11-11 15:11:40 2025-11-11 07:58:52
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:58:52
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202406-1290; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202406-1290
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:47:25
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']