fumadocs-openapi is vulnerable to Server-Side Request Forgery (SSRF)
75
High Risk
The createProxy() route handler in the OpenAPI server builds a proxy that forwards requests to the origin supplied in the url query parameter. When no allowedOrigins or filterRequest allowlist is configured, the proxy forwards to any origin and follows upstream redirects without re-checking them, so an allowed upstream can redirect it to a disallowed destination. An unauthenticated attacker can abuse this as an open proxy to reach internal-only services and cloud metadata endpoints, and forwarded request headers and cookies are sent to the attacker-chosen target. The fix defaults allowedOrigins to the proxy route's own origin, warns when no allowlist is set, and enforces the allowlist on every redirect hop.
You are affected if you are using a version that falls within the vulnerable range and you expose a createProxy() proxy route without configuring allowedOrigins or filterRequest.
fumadocs-openapi is vulnerable to Server-Side Request Forgery (SSRF) in versions 5.10.0 - 11.2.1.
Upgrade the fumadocs-openapi library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant