Skip to content

Add rel="noreferrer noopener" when setting 'open in new tab' option #6186

Closed

Description

@JeroenSormani

Issue Overview

I noticed that the 'Open in a new tab' option has been (re-)added.
Glad to see its back, now the additional rel="noreferrer noopener" attribute should be added for security; https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/

It is already part of WP Core; https://core.trac.wordpress.org/ticket/36809
Has also been mentioned in the big convo here; #4583 but is yet to be implemented.

Expected Behavior

Any link that uses the 'Open in a new window' option should automatically get the rel="noreferrer noopener" attribute added too.

Current Behavior

No rel attribute is added/available.

Activity

  1. added this to the milestone on Apr 16, 2018
  2. added
    [Type] Enhancement
    [Feature] Rich Text
    on Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Rich Text[Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions