First published: Fri Dec 06 2024(Updated: )
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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
NuGet Gallery | <2024.12.06 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-54138 is considered a moderate severity vulnerability due to its impact on the handling of autolinks in Markdown content.
To fix CVE-2024-54138, update your NuGet Gallery to version 2024.12.06 or later.
CVE-2024-54138 is a security vulnerability related to improper sanitization of autolinks in Markdown content.
CVE-2024-54138 affects all versions of NuGet Gallery prior to 2024.12.06.
Yes, a public advisory regarding CVE-2024-54138 is available on the NuGet GitHub repository.