XSS in Microsoft Nugetgallery

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.004 (29.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-54138?
CVE-2024-54138 is a medium-severity vulnerability in Microsoft Nugetgallery, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2024-12-06.
How severe is CVE-2024-54138?
Medium severity. CVSS v3 base score is 6.1 out of 10.