Bug #89771

rel="noreferer" should be set for all new windows, not just _blank

Added by Jonas Eberle 13 days ago. Updated 12 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2019-11-25
Due date:
% Done:

0%

TYPO3 Version:
10
PHP Version:
Tags:
noopener noreferrer target links
Complexity:
Is Regression:
Sprint Focus:

Description

The condition for adding rel="noreferer" should be:

"target" NOT IN (_self _parent _top) instead of the current check target=_blank.

A target="myname" would give the same attack surface as target="_blank". (I just verified with Firefox)


Related issues

Related to TYPO3 Core - Bug #89757: Fix noopener noreferrer issue Resolved 2019-11-23
Related to TYPO3 Core - Bug #89044: Links in the TYPO3 backend and install tool should have set rel="noopener noreferrer" for external links Resolved 2019-08-29
Related to TYPO3 Core - Feature #78488: Add rel="noopener noreferrer" to links when target is set to _blank Closed 2016-10-28

History

#1 Updated by Jonas Eberle 13 days ago

  • Related to Bug #89757: Fix noopener noreferrer issue added

#2 Updated by Jonas Eberle 13 days ago

  • Related to Bug #89044: Links in the TYPO3 backend and install tool should have set rel="noopener noreferrer" for external links added

#3 Updated by Jonas Eberle 13 days ago

  • Related to Feature #78488: Add rel="noopener noreferrer" to links when target is set to _blank added

#4 Updated by Gerrit Code Review 13 days ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62430

#5 Updated by Gerrit Code Review 13 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62430

#6 Updated by Gerrit Code Review 13 days ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62430

#7 Updated by Gerrit Code Review 12 days ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62430

Also available in: Atom PDF