CVE-2023-49799
Server-Side Request Forgery in nuxt-api-party
Also known as GHSA-3wfp-253j-5jxv
Mitigation
- Upgrade nuxt-api-party to 0.22.0 or later.
Who should check
- Projects that depend on npm package nuxt-api-party (< 0.22.0)
- Anyone running johannschopplich nuxt-api-party < 0.22.1
Vulnerability facts
- Affected
- nuxt-api-party < 0.22.0
- Fixed in
- 0.22.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.91% chance of exploitation in 30 days (percentile 58, 2026-11-26)
- CWE
- CWE-918
- Modified
Description
`nuxt-api-party` is an open source module to proxy API requests. nuxt-api-party attempts to check if the user has passed an absolute URL to prevent the aforementioned attack. This has been recently changed to use the regular expression `^https?://`, however this regular expression can be bypassed by an absolute URL with leading whitespace. For example `\nhttps://whatever.com` which has a leading newline. According to the fetch specification, before a fetch is made the URL is normalized. "To normalize a byte sequence potentialValue, remove any leading and trailing HTTP whitespace bytes from potentialValue.". This means the final request will be normalized to `https://whatever.com` bypassing the check and nuxt-api-party will send a request outside of the whitelist. This could allow us to leak credentials or perform Server-Side Request Forgery (SSRF). This vulnerability has been addressed in version 0.22.1. Users are advised to upgrade. Users unable to upgrade should revert to the previous method of detecting absolute URLs.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm nuxt-api-party | < 0.22.0 | 0.22.0 | osv |
| johannschopplich nuxt-api-party | < 0.22.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-49799. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-49799.md Affected: nuxt-api-party < 0.22.0 Fixed in: 0.22.0 Steps: 1. Search this machine and project for nuxt-api-party (npm), johannschopplich nuxt-api-party: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://fetch.spec.whatwg.org/
- https://fetch.spec.whatwg.org/#http-whitespace-byte
- https://github.com/johannschopplich/nuxt-api-party/blob/777462e1e3af1d9f8938aa33f230cd8cb6e0cc9a/src/runtime/server/handler.ts#L31
- https://infra.spec.whatwg.org/#byte-sequence
- https://github.com/johannschopplich/nuxt-api-party
FAQ
Is CVE-2023-49799 being exploited?
There is no confirmed exploitation: CVE-2023-49799 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.91% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-49799?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-49799?
nuxt-api-party < 0.22.0.
Is there a fix for CVE-2023-49799?
Yes. Fixed in 0.22.0. Upgrade nuxt-api-party to 0.22.0 or later.
How do I check if I'm affected by CVE-2023-49799?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.