CVE-2024-37304 (CNNVD-202406-1290)
中文标题:
NuGet Gallery 安全漏洞
英文标题:
NuGetGallery's Markdown Autolinks Processing Vulnerable to Cross-site Scripting
漏洞描述
中文描述:
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类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| NuGet | NuGetGallery | < 2024.05.28 | - | - |
cpe:2.3:a:nuget:nugetgallery:<_2024.05.28:*:*:*:*:*:*:*
|
| microsoft | nugetgallery | * | - | - |
cpe:2.3:a:microsoft:nugetgallery:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
CVSS评分详情
3.1 (cna)
MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录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 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202406-1290
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']