Vulnerability · Published Dec 6, 2024 · Assigned by GitHub_M
CVE-2024-54138XSS Vulnerability in NuGetGallery's Markdown Autolinks Processing
Medium 6.9
In plain English
A medium-severity cross-site scripting in NuGetGallery from NuGet. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NuGet | NuGetGallery | < 2024.12.06 |
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
References
- https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-x448-p234-x5p8 x_refsource_CONFIRM
- https://github.com/NuGet/NuGetGallery/pull/10296 x_refsource_MISC