CVE-2024-54138: XSS Vulnerability in NuGetGallery's Markdown Autolinks Processing
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 Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2024-54138?
CVE-2024-54138 is considered a moderate severity vulnerability due to its impact on the handling of autolinks in Markdown content.
How do I fix CVE-2024-54138?
To fix CVE-2024-54138, update your NuGet Gallery to version 2024.12.06 or later.
What type of vulnerability is CVE-2024-54138?
CVE-2024-54138 is a security vulnerability related to improper sanitization of autolinks in Markdown content.
Which versions of NuGet Gallery are affected by CVE-2024-54138?
CVE-2024-54138 affects all versions of NuGet Gallery prior to 2024.12.06.
Is there a public advisory for CVE-2024-54138?
Yes, a public advisory regarding CVE-2024-54138 is available on the NuGet GitHub repository.