CVE-2024-42352
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedNuxt 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe nuxt/icon module's endpoint at /api/_nuxt_icon/[name] improperly parses proxied request paths using the new URL constructor, which accepts relative schemes and paths. Attackers can exploit this by passing malicious URL strings like 'http:127.0.0.1:8080' to trigger Server-Side Request Forgery (SSRF), enabling access to internal services and potential sensitive data exposure.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 1.4.5CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate nuxt/icon module in project dependenciesSearch for nuxt-icon in package.json, package-lock.json, or yarn.lock. Run 'npm list nuxt-icon' or 'cat package.json | grep nuxt-icon' to identify if the module is installed.Affected if nuxt-icon is listed as a dependency in the project configuration files.
-
Determine installed nuxt-icon versionRun 'npm list nuxt-icon' or 'cat node_modules/nuxt-icon/package.json | grep version' to find the exact version number installed.Affected if The installed version is lower than 1.4.5 (e.g., 1.4.4, 1.4.0, or any version < 1.4.5).
-
Verify /api/_nuxt_icon endpoint existsMake a GET request to /api/_nuxt_icon/test or /api/_nuxt_icon/[anyname] on the application's base URL. Inspect the response to confirm the endpoint is routing requests.Affected if The endpoint responds with icon data or any Nuxt-related response, indicating the module is active.
-
Confirm icon module is enabled in Nuxt configExamine nuxt.config.ts or nuxt.config.js for 'nuxt-icon' or '@nuxt/icon' in the modules array. Run 'grep -r "nuxt.icon\|nuxt-icon" nuxt.config.*' if available.Affected if The module is listed in the Nuxt configuration under the modules section.
If nuxt-icon is installed, the version is below 1.4.5, and the /api/_nuxt_icon endpoint is accessible, the environment is vulnerable to CVE-2024-42352 SSRF attacks.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.4.5
Upgrade nuxt/icon to version 1.4.5 or later. No workarounds exist for this vulnerability.
nuxt/icon version 1.4.5
- Upgrade the nuxt/icon module to version 1.4.5 or later by running: npm install nuxt-icon@^1.4.5 or npm install @nuxt/icon@^1.4.5
- Alternatively, upgrade the entire Nuxt framework to a version that includes the patched nuxt/icon module (v1.4.5 or newer)
- After upgrading, verify the fix by ensuring the /api/_nuxt_icon/[name] endpoint no longer accepts arbitrary URL schemes in the path parameter
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation1.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,664.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-42352 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-42352 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data