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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:microsoft:nugetgallery:*:*:*:*:*:*:*:*

History

05 Sep 2025, 15:48

Type Values Removed Values Added
Summary
  • (es) NuGet Gallery es un repositorio de paquetes que impulsa a nuget.org. NuGetGallery tiene una vulnerabilidad de seguridad relacionada con su manejo de enlaces automáticos en contenido Markdown. Si bien la plataforma filtra correctamente el JavaScript de los enlaces estándar, no desinfecta adecuadamente los enlaces automáticos. Este descuido permite a los atacantes explotar los enlaces automáticos como un vector para ataques de cross-site scripting (XSS). Esta vulnerabilidad se solucionó en 2024.12.06.
CPE cpe:2.3:a:microsoft:nugetgallery:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
References () https://github.com/NuGet/NuGetGallery/pull/10296 - () https://github.com/NuGet/NuGetGallery/pull/10296 - Issue Tracking, Patch
References () https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-x448-p234-x5p8 - () https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-x448-p234-x5p8 - Vendor Advisory
First Time Microsoft nugetgallery
Microsoft

06 Dec 2024, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-12-06 22:15

Updated : 2025-09-05 15:48


NVD link : CVE-2024-54138

Mitre link : CVE-2024-54138

CVE.ORG link : CVE-2024-54138


JSON object : View

Products Affected

microsoft

  • nugetgallery
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')