NodeBB-Community / nodebb-plugin-iframely

Iframely Embeds for NodeBB
MIT License
17 stars 13 forks source link

Added noreferrer and noopener values to rel attributes #33

Closed julianlam closed 7 years ago

julianlam commented 7 years ago

Received vulnerability report allowing malicious users to change the location of the page (among other things) of the opening tab if target="_blank" is used. Setting noopener (and noreferrer for older browsers) fixes this unintentional leak.

julianlam commented 7 years ago

Cheers @nleush :smile: