@opennextjs/cloudflare is vulnerable to Improper Handling of URL Encoding
75
High Risk
When cache interception is enabled, @opennextjs/cloudflare matches authorization middleware against the encoded request path but decodes the path before selecting a cache entry. A remote unauthenticated request using a percent-encoded path can skip the middleware matcher while still resolving to the cache key of a protected route, returning the cached response. Malformed paths were also partially decoded, letting cache lookup continue on an inconsistent path. The fix aligns encoded-path handling between middleware matching and cache lookup and rejects malformed paths instead of partially decoding them.
You are affected if you are using a version that falls within the vulnerable range and your application enables cache interception and relies on middleware for access control.
@opennextjs/cloudflare is vulnerable to Improper Handling of URL Encoding in versions 0.3.0 - 1.20.1.
Upgrade the @opennextjs/cloudflare 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