Security measures you miss out when you are using native <img /> tag in Next.js
Apr 6, 2025 · 4 min read · This is a short rundown on all the security measures and optimizations that you might miss out on if you go with the native html <img /> tag instead of <Image /> component from Next.js. The usual suspects: Cross-Site Scripting (XSS attacks) and Denia...
Join discussion



