Web Security · Senior · Question 67 of 75

What was the core issue in the 2025 Next.js middleware vulnerability (CVE-2025-29927)?

Explanation

The lesson: middleware is a convenient first gate, but authorization must also be checked close to the data, in route handlers, actions and data access code.

Further reading

Problem with a question

Web Security · Senior · question 67

Test yourself

Take the Web Security · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz