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

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-02)
- Published: 2024-10-01T15:26:18.383Z
- Modified: 2026-06-17T07:57:23.040Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- NuGet NuGetGallery: > 2024.06.21, <= 2024.09.25
- microsoft nugetgallery: from 2024.06.21 before 2024.09.25

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-hq63-27r7-2j64> (vendor-advisory)
- <https://github.com/NuGet/NuGetGallery/pull/10193> (patch)
- <https://github.com/NuGet/NuGetGallery/commit/3a18689dd0de856e03d081af999783f0e6e7ca70> (patch)

## Sources

- CVE List: [CVE-2024-47604](https://www.cve.org/CVERecord?id=CVE-2024-47604), CVE Terms of Use, modified 2024-10-01
- NVD: [CVE-2024-47604](https://nvd.nist.gov/vuln/detail/CVE-2024-47604), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47604 · Whole record: https://cve.day/CVE-2024-47604.json · Rebuilt by cve.day 2026-11-25T22:58:45.931Z
