What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: NuGetGallery 2024.12.06; Nugetgallery 2024.12.06. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-54138 or the next vulnerability affects your stack