CVE-2024-54138 XSS Vulnerability in NuGetGallery's Markdown Autolinks Processing
MediumCVSS 6.9
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Microsoft nugetgallery | < 2024.12.06 | 2024.12.06 | Fixed |
| NuGetGallery | < 2024.12.06; = < 2024.12.06 | 2024.12.06 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| NuGetGallery | = < 2024.12.06 | No fix listed |
| NuGetGallery | < 2024.12.06 | 2024.12.06 |
| Microsoft nugetgallery | < 2024.12.06 | 2024.12.06 |
References
- https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-x448-p234-x5p8 vendor-advisory
- https://github.com/NuGet/NuGetGallery/pull/10296 issue-tracking patch