---
title: "Feature: #107771 - Make rel attribute in external links configurable"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-107771-1760360529"
source: "Changelog/14.2/Feature-107771-MakeRelAttributeInExternalLinksConfigurable.rst"
typo3-version: "14.2"
typo3-major: 14
type: "feature"
issue: 107771
forge: "https://forge.typo3.org/issues/107771"
tags: ["Frontend"]
rendered: "2026-10-01T16:39:42+00:00"
---

# Feature: #107771 - Make rel attribute in external links configurable {#feature-107771-1760360529}

See [forge#107771](https://forge.typo3.org/issues/107771)

## Description {#description}

For security reasons, external links that open in a new window should be
generated with `rel="noopener"` to prevent the opened page from
accessing the originating document via JavaScript's
`Window.opener` object.

TYPO3's default behavior is to add `rel="noreferrer"` to all such
links. This automatically implies `rel="noopener"` but is even more
restrictive, as it also prevents the HTTP `Referer` header from being sent to
the opened page. This may be too strict and therefore undesirable for some
website owners.

This feature introduces a new TypoScript option
`config.linkSecurityRelValue` to define the `rel`
attribute for external links. The default behavior remains
`rel="noreferrer"`, but by setting the TypoScript property to
`noopener`, all external links are generated with
`rel="noopener"` instead.

The feature respects existing the individual settings of a  link. Any existing
`rel="noopener"` and `rel="noreferrer"` values from other
sources are preserved.

## Impact {#impact}

A new TypoScript configuration option
`config.linkSecurityRelValue` is available and can be set to
`noreferrer` (default) or `noopener`.

This setting affects all external links with `target="_blank"`.
