# CVE-2023-49799: Server-Side Request Forgery in nuxt-api-party

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.91% (percentile 58, 2026-11-26)
- **CWE:** CWE-918
- **Aliases:** GHSA-3wfp-253j-5jxv
- **Published:** 2023-12-08T23:45:18.581Z
- **Modified:** 2026-09-10T03:49:59.222Z

## Who should check

- Projects that depend on npm package nuxt-api-party (\< 0.22.0)
- Anyone running johannschopplich nuxt-api-party \< 0.22.1

## 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

- npm `nuxt-api-party`: affected \< 0.22.0; fixed 0.22.0 (osv)
- johannschopplich nuxt-api-party: \< 0.22.1 (cvelist)

## Mitigation

- Upgrade nuxt-api-party to 0.22.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/johannschopplich/nuxt-api-party/security/advisories/GHSA-3wfp-253j-5jxv>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-49799>
- patch: <https://github.com/johannschopplich/nuxt-api-party/commit/72762a200fc19d997a0f84bce578c28698dc5270>
- other: <https://fetch.spec.whatwg.org/>
- other: <https://fetch.spec.whatwg.org/#http-whitespace-byte>
- other: <https://github.com/johannschopplich/nuxt-api-party/blob/777462e1e3af1d9f8938aa33f230cd8cb6e0cc9a/src/runtime/server/handler.ts#L31>
- other: <https://infra.spec.whatwg.org/#byte-sequence>
- other: <https://github.com/johannschopplich/nuxt-api-party>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-49799>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3wfp-253j-5jxv> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-49799> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-49799>
