CodeZettaInterview Hub

HTML · Security · Junior · Concept

Why is target=_blank a security concern?

Short Interview Answer

Opened pages can access window.opener unless rel=noopener (and often noreferrer).

Detailed Explanation

Modern browsers mitigate more, but still set rel. Phishing via tabnabbing historically mattered.

Did you know this answer?