CVE-2024-54138
JSON

6.9medium

XSS Vulnerability in NuGetGallery's Markdown Autolinks Processing

Severity
6.9medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
NuGet NuGetGallery< 2024.12.06, before 2024.12.06CVE List
microsoft nugetgallerybefore 2024.12.06NVD

All scores

GitHub_M6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-54138 changed 2024-12-10CVE Terms of Use
NVDCVE-2024-54138 changed 2026-06-17Public domain