XSS in Microsoft Nugetgallery
CVE-2024-54138
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. This vulnerability is fixed in 2024.12.06.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.004, 34.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Microsoft Nugetgallery
- Nuget Nugetgallery — versions < 2024.12.06
Weakness classification (CWE)
References
- https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-x448-p234-x5p8 (Vendor Advisory)
- https://github.com/NuGet/NuGetGallery/pull/10296 (Patch, Issue Tracking)