{"answers":{"affected":"2 open source packages ship an affected version, including @nuxt/icon. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42352 exists.","fix":"Upgrade @nuxt/icon to 1.4.5 or later.","what":"CVE-2024-42352 is a high-severity server-side request forgery vulnerability in nuxt icon, published on 5 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-42352 and fix it if it is affected.\n\nWhat it is: CVE-2024-42352 is a high-severity server-side request forgery vulnerability in nuxt icon, published on 5 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42352 exists.\n\nAffected packages and fixed versions:\n- @nuxt/icon (npm): affected all versions; fixed in 1.4.5\n- @nuxt/icon (npm): affected all versions; fixed in 1.4.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-42352/ (Markdown: https://insights.sbomify.com/CVE-2024-42352/index.md)","id":"CVE-2024-42352","markdown":"https://insights.sbomify.com/CVE-2024-42352/index.md","name":"CVE-2024-42352","record":{"aliases":["GHSA-cxgv-px37-4mp2"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Nuxt icon library","requires_auth":"none","summary":"Attackers can exploit improper URL parsing in nuxt-icon to perform Server-Side Request Forgery, potentially accessing internal services or sensitive data.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nuxt","vendor":"nuxt"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Server-Side Request Forgery (SSRF) in nuxt-icon","id":"CVE-2024-42352","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2024"},"n_packages":2,"n_references":1,"next":{"headline":"WebOb's location header normalization during redirect leads to open redirect","id":"CVE-2024-42353"},"packages":[{"ecosystem":"npm","fixed":["1.4.5"],"introduced":["0"],"last_affected":[],"package":"@nuxt/icon","purl":null,"source":"GHSA-cxgv-px37-4mp2"},{"ecosystem":"npm","fixed":["1.4.5"],"introduced":["0"],"last_affected":[],"package":"@nuxt/icon","purl":"pkg:npm/%40nuxt/icon","source":"GHSA-cxgv-px37-4mp2"}],"prev":{"headline":"Possible Data Tampering \u0026 Loss of Public Datasets in Galaxy","id":"CVE-2024-42351"},"products":["icon"],"published":"2024-08-05","related":[{"cvss_score":8.8,"headline":"Nuxt: Route-rule middleware bypass via case-sensitivity mismatch between vue-router and the routeRules matcher","id":"CVE-2026-53721","kev_date_added":null,"published":"2026-06-12"},{"cvss_score":8.8,"headline":"Path Traversal: '../filedir' in Nuxt Devtools","id":"CVE-2024-23657","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":8.8,"headline":"Remote code execution via the browser when running the test locally in nuxt","id":"CVE-2024-34344","kev_date_added":null,"published":"2024-08-05"},{"cvss_score":8.1,"headline":"Code Injection in nuxt/nuxt","id":"CVE-2023-3224","kev_date_added":null,"published":"2023-06-13"},{"cvss_score":7.5,"headline":"Nuxt allows DOS via cache poisoning with payload rendering response","id":"CVE-2025-27415","kev_date_added":null,"published":"2025-03-19"},{"cvss_score":6.8,"headline":"Nuxt - Arbitrary File Read via World-Connectable vite-node IPC Socket on Linux","id":"CVE-2026-56301","kev_date_added":null,"published":"2026-06-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-06","vendors":["nuxt"]},"summary":"Attackers can exploit improper URL parsing in nuxt-icon to perform Server-Side Request Forgery, potentially accessing internal services or sensitive data.","url":"https://insights.sbomify.com/CVE-2024-42352/"}