CVE-2024-54138
published medium CVSS 4.0 · 6.9XSS Vulnerability in NuGetGallery's Markdown Autolinks Processing
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NuGet | NuGetGallery | < 2024.12.06 (affected) | GitHub_M · cna |
| nuget | nugetgallery | 0 to < 2024.12.06 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
2GitHub_M · cna
XSS Vulnerability in NuGetGallery's Markdown Autolinks Processing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bb8b67b040bc2b7962aec5cbac6aa0f4bf568b80fb34c72d062ac1c599fc4d9f
- Ingested
- 23 Sep 2026, 08:31:11 UTC
- Source record
- Official CVE record