CWE
79
Advisory Published
Updated

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

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 SoftwareAffected VersionHow to fix
NuGet Gallery<2024.12.06

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203