{"cve":"CVE-2024-42352","nvd":{"published":"2024-08-05T21:15:38.913","modified":"2026-06-17T07:49:18.683","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-918"],"references":["https://github.com/nuxt/icon/security/advisories/GHSA-cxgv-px37-4mp2"],"products":["nuxt:nuxt"],"source":"nvd","synced_at":"2026-10-19T21:53:51.317825789+00:00"},"epss":{"cve":"CVE-2024-42352","score":0.00648,"percentile":0.51065,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cxgv-px37-4mp2","url":"https://osv.dev/vulnerability/GHSA-cxgv-px37-4mp2","summary":"Nuxt Icon affected by a Server-Side Request Forgery (SSRF)","modified":"2024-08-06T14:41:54Z","packages":[{"ecosystem":"npm","name":"@nuxt/icon","purl":"pkg:npm/%40nuxt/icon","ranges":["<1.4.5"],"fixed":["1.4.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}