CVE-2024-54138

XSS Vulnerability in NuGetGallery's Markdown Autolinks Processing

Published Dec 6, 2024 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-52309 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.
History
Type Values Removed Values Added
First Time appeared Microsoft
Microsoft nugetgallery
CPEs cpe:2.3:a:microsoft:nugetgallery:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft nugetgallery
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00155}

epss

{'score': 0.00174}

Type Values Removed Values Added
First Time appeared Nuget
Nuget nugetgallery
CPEs cpe:2.3:a:nuget:nugetgallery:*:*:*:*:*:*:*:*
Vendors & Products Nuget
Nuget nugetgallery
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title XSS Vulnerability in NuGetGallery's Markdown Autolinks Processing
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 6.9, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 10, 2024, 2:38 PM
Reserved
Nov 29, 2024, 6:02 PM
Status
Analyzed
Published
Dec 6, 2024, 10:15 PM
Modified
Jun 17, 2026, 8:09 AM