Server-Side Request Forgery (SSRF) in nuxt-icon
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.
Summary
Nuxt is a free and open-source framework to create full-stack web applications and websites with Vue.js. `nuxt/icon` provides an API to allow client side icon lookup. This endpoint is at `/api/_nuxt_icon/[name]`. The proxied request path is improperly parsed, allowing an attacker to change the scheme and host of the request. This leads to SSRF, and could potentially lead to sensitive data exposure. The `new URL` constructor is used to parse the final path. This constructor can be passed a relative scheme or path in order to change the host the request is sent to. This constructor is also very tolerant of poorly formatted URLs. As a result we can pass a path prefixed with the string `http:`. This has the effect of changing the scheme to HTTP. We can then subsequently pass a new host, for example `http:127.0.0.1:8080`. This would allow us to send requests to a local server. This issue has been addressed in release version 1.4.5 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nuxt | icon | before 1.4.5 | 1.4.5 | Patch available | CNA |
| — | @nuxt/icon (npm) | before 1.4.5 | 1.4.5 | Patch available | GHSA-cxgv-px37-4mp2 |
- icon Vendornuxt Affected before 1.4.5 Fixed in 1.4.5 Patch available CNA
- @nuxt/icon (npm) Vendor— Affected before 1.4.5 Fixed in 1.4.5 Patch available GHSA-cxgv-px37-4mp2
Remediation
- Fix · CNA icon (nuxt) Fixed in 1.4.5
- Fix · GHSA-cxgv-px37-4mp2 @nuxt/icon (npm) Fixed in 1.4.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-42352
- 2026-10-03 Alias added: GHSA-cxgv-px37-4mp2
- 2026-10-18 EPSS moved to the 50th–90th percentile
References
More Nuxt vulnerabilities
- TI-2023-03020 Code Injection in nuxt/nuxt CVSS 3.1CRITICAL 9.8
- TI-2024-22685 Remote code execution via the browser when running the test locally in nuxt CVSS 3.1HIGH 8.8
- TI-2026-34788 Nuxt: Route middleware not enforced when rendering `.server.vue` pages via `/__nuxt_island/page_*` CVSS 4.0MEDIUM 6.3
- TI-2024-22684 Cross-site Scripting (XSS) in navigateTo if used after SSR in nuxt CVSS 3.1MEDIUM 6.3
- TI-2023-00833 Cross-site Scripting (XSS) - Generic in nuxt/framework CVSS 3.1MEDIUM 6.1
- TI-2026-33411 Nuxt: Reflected XSS in `navigateTo()` external redirect CVSS 4.0MEDIUM 5.3
Sources
- CVE-2024-42352 · CVE Program
- CVE-2024-42352 · NVD
- FIRST EPSS
- GHSA-cxgv-px37-4mp2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences