NuGetGallery's Markdown Autolinks Processing Vulnerable to Cross-site Scripting
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| NuGet | NuGetGallery | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Nuget | Nugetgallery | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-36565 | 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. When a user inputs a Markdown autolink such as `<javascript:alert(1)>`, the link is rendered without proper sanitization. This means that the JavaScript code within the autolink can be executed by the browser, leading to an XSS attack. Version 2024.05.28 contains a patch for this issue. |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.651% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Microsoft
Microsoft nugetgallery |
|
| CPEs | cpe:2.3:a:microsoft:nugetgallery:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Microsoft
Microsoft nugetgallery |