CVE-2024-54138: XSS Vulnerability in NuGetGallery's Markdown Autolinks Processing

6.9 CVSS

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.

Classification

CVE ID: CVE-2024-54138

CVSS Base Severity: MEDIUM

CVSS Base Score: 6.9

Affected Products

Vendor: NuGet

Product: NuGetGallery

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.44% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-x448-p234-x5p8
https://github.com/NuGet/NuGetGallery/pull/10296

Timeline