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

Published Dec 6, 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.

Affected Software

2 affected components
Microsoft NuGet Gallery<2024.12.06
Microsoft Nugetgallery<2024.12.06

Event History

Dec 6, 2024
CVE Published
via MITRE·09:56 PM
Data Sourced
via MITRE·09:56 PM
DescriptionWeakness
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2024-54138?

To fix CVE-2024-54138, update your NuGet Gallery to version 2024.12.06 or later.

3

What type of vulnerability is CVE-2024-54138?

CVE-2024-54138 is a security vulnerability related to improper sanitization of autolinks in Markdown content.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203