XSS Vulnerability in NuGetGallery's Markdown Autolinks Processing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA NuGetGallery (NuGet) Fixed in 2024.12.06
Timeline
- 2026-10-02 Threatist record created from CVE-2024-54138
References
More Microsoft Nugetgallery vulnerabilities
- TI-2024-31884 XSS vulnerability in NuGetGallery HTML attributes handling CVSS 3.1HIGH 8.2
- TI-2024-24816 NuGetGallery's Markdown Autolinks Processing Vulnerable to Cross-site Scripting CVSS 3.1MEDIUM 6.1
- TI-2020-01301 Cross-site scripting in Microsoft NuGetGallery CVSS 3.1MEDIUM 5.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences