@opennextjs/cloudflare is vulnerable to Improper Handling of URL Encoding
75
CVE Score
High
Improper Handling of URL Encoding
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.
Upgrade the @opennextjs/cloudflare library to the patch version.
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.
0.3.0 - 1.20.1
Fixed in 1.20.2@opennextjs/cloudflare is vulnerable to Improper Handling of URL Encoding in versions 0.3.0 - 1.20.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.