{"id":"CVE-2024-47604","state":"PUBLISHED","title":"XSS vulnerability in NuGetGallery HTML attributes handling","description":"NuGet Gallery is a package repository that powers nuget.org. The NuGetGallery has a security vulnerability in its handling of HTML element attributes, which allows an attacker to execute arbitrary HTML or Javascript code in a victim's browser.","publishedAt":"2024-10-01T15:26:18.383Z","updatedAt":"2024-10-01T17:13:16.824Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["NuGet NuGetGallery"],"affected":[{"vendor":"NuGet","product":"NuGetGallery","versions":[{"version":"> 2024.06.21, <= 2024.09.25","status":"affected"}]}],"references":["https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-hq63-27r7-2j64","https://github.com/NuGet/NuGetGallery/pull/10193","https://github.com/NuGet/NuGetGallery/commit/3a18689dd0de856e03d081af999783f0e6e7ca70"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/47xxx/CVE-2024-47604.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-47604","state":"PUBLISHED","datePublished":"2024-10-01T15:26:18.383Z","dateUpdated":"2024-10-01T17:13:16.824Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-09-27T20:37:22.119Z"},"containers":{"cna":{"title":"XSS vulnerability in NuGetGallery HTML attributes handling","descriptions":[{"lang":"en","value":"NuGet Gallery is a package repository that powers nuget.org. The NuGetGallery has a security vulnerability in its handling of HTML element attributes, which allows an attacker to execute arbitrary HTML or Javascript code in a victim's browser."}],"affected":[{"vendor":"NuGet","product":"NuGetGallery","versions":[{"version":"> 2024.06.21, <= 2024.09.25","status":"affected"}]}],"references":[{"url":"https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-hq63-27r7-2j64","name":"https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-hq63-27r7-2j64","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NuGet/NuGetGallery/pull/10193","name":"https://github.com/NuGet/NuGetGallery/pull/10193","tags":["x_refsource_MISC"]},{"url":"https://github.com/NuGet/NuGetGallery/commit/3a18689dd0de856e03d081af999783f0e6e7ca70","name":"https://github.com/NuGet/NuGetGallery/commit/3a18689dd0de856e03d081af999783f0e6e7ca70","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-10-01T15:26:18.383Z"},"source":{"advisory":"GHSA-hq63-27r7-2j64","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-01T17:13:07.628882Z","id":"CVE-2024-47604","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-01T17:13:16.824Z"}}]}}}