diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index 96229fd370ae6da8356f153cec3f4424642a5d2f..7069c0c2634411e081fc87481adfd746ecda9c84 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -24,7 +24,7 @@
 		<?php print_unescaped($_['headers']); ?>
 	</head>
 	<body id="body-public">
-		<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>
+		<?php include('layout.noscript.warning.php'); ?>
 		<?php print_unescaped($_['content']); ?>
 	</body>
 </html>
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index c799205b7cf750a8057ebf1edf265f8280e6fdf3..8deda443d9874456f01200ac02aee891f8fdeacd 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -25,7 +25,7 @@
 		<?php print_unescaped($_['headers']); ?>
 	</head>
 	<body id="<?php p($_['bodyid']);?>">
-		<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>
+		<?php include('layout.noscript.warning.php'); ?>
 		<div class="wrapper"><!-- for sticky footer -->
 			<div class="v-align"><!-- vertically centred box -->
 				<?php if ($_['bodyid'] === 'body-login' ): ?>
diff --git a/core/templates/layout.noscript.warning.php b/core/templates/layout.noscript.warning.php
new file mode 100644
index 0000000000000000000000000000000000000000..ba781f5502e47455eb5504df43d9f43a8eb3ed5f
--- /dev/null
+++ b/core/templates/layout.noscript.warning.php
@@ -0,0 +1,11 @@
+<noscript>
+	<div id="nojavascript">
+		<div>
+			<?php print_unescaped(str_replace(
+					['{linkstart}', '{linkend}'],
+					['<a href="http://enable-javascript.com/" target="_blank" rel="noreferrer">', '</a>'],
+					$l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.')
+				)); ?>
+		</div>
+	</div>
+</noscript>
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index ffa5e557c645d0886574e5a272193fe4958efd7d..075f72021c22e4c9839c82ff84102e812c47e134 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -32,7 +32,7 @@
 		<?php print_unescaped($_['headers']); ?>
 	</head>
 	<body id="<?php p($_['bodyid']);?>">
-	<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>
+	<?php include('layout.noscript.warning.php'); ?>
 	<div id="notification-container">
 		<div id="notification"></div>
 		<?php if ($_['updateAvailable']): ?>
diff --git a/lib/private/defaults.php b/lib/private/defaults.php
index dfcd97aedd6ad90368b13558aaaf137de2530e5b..a3902ee80de9ed218ad5a20ef651c8fb591dedcc 100644
--- a/lib/private/defaults.php
+++ b/lib/private/defaults.php
@@ -215,7 +215,8 @@ class OC_Defaults {
 		if ($this->themeExist('getShortFooter')) {
 			$footer = $this->theme->getShortFooter();
 		} else {
-			$footer = '<a href="'. $this->getBaseUrl() . '" target="_blank">' .$this->getEntity() . '</a>'.
+			$footer = '<a href="'. $this->getBaseUrl() . '" target="_blank"' .
+				' rel="noreferrer">' .$this->getEntity() . '</a>'.
 				' – ' . $this->getSlogan();
 		}
 
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index a739e517ede5bf1780d7201835f85878eba8cbaf..363b4741b74799fe9de54856af08b0093b247e7d 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -525,11 +525,7 @@ if ($_['suggestedOverwriteCliUrl']) {
 <div class="section">
 	<h2><?php p($l->t('Version'));?></h2>
 	<strong><?php p($theme->getTitle()); ?></strong> <?php p(OC_Util::getHumanVersion()) ?>
-<?php if (OC_Util::getEditionString() === ''): ?>
-	<p>
-		<?php print_unescaped($l->t('Developed by the <a href="http://ownCloud.org/contact" target="_blank">ownCloud community</a>, the <a href="https://github.com/owncloud" target="_blank">source code</a> is licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank"><abbr title="Affero General Public License">AGPL</abbr></a>.')); ?>
-	</p>
-<?php endif; ?>
+	<?php include('settings.development.notice.php'); ?>
 </div>
 
 <div class="section credits-footer">
diff --git a/settings/templates/help.php b/settings/templates/help.php
index 403dde30daeb23ce32833e9ec370c3ce41a40595..f559329c6bb764412297fc550d405be257a27723 100644
--- a/settings/templates/help.php
+++ b/settings/templates/help.php
@@ -16,12 +16,12 @@
 	<?php } ?>
 
 		<li>
-			<a href="http://owncloud.org/support" target="_blank">
+			<a href="https://owncloud.org/support" target="_blank" rel="noreferrer">
 				<?php p($l->t( 'Online Documentation' )); ?> ↗
 			</a>
 		</li>
 		<li>
-			<a href="https://forum.owncloud.org" target="_blank">
+			<a href="https://forum.owncloud.org" target="_blank" rel="noreferrer">
 				<?php p($l->t( 'Forum' )); ?> ↗
 			</a>
 		</li>
@@ -29,14 +29,14 @@
 	<?php if($_['admin']) { ?>
 		<li>
 			<a href="https://github.com/owncloud/core/blob/master/CONTRIBUTING.md"
-				target="_blank">
+				target="_blank" rel="noreferrer">
 				<?php p($l->t( 'Bugtracker' )); ?> ↗
 			</a>
 		</li>
 	<?php } ?>
 
 	<li>
-		<a href="https://owncloud.com" target="_blank">
+		<a href="https://owncloud.com" target="_blank" rel="noreferrer">
 			<?php p($l->t( 'Commercial Support' )); ?> ↗
 		</a>
 	</li>
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 02e61287937983c173e726dda4ff3b4a0fa10269..f48737b6db72c59a4a8786e1ff0a760e87fc0e20 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -40,10 +40,10 @@
 	<p class="center">
 		<?php print_unescaped($l->t('If you want to support the project
 		<a href="https://owncloud.org/contribute"
-			target="_blank">join development</a>
+			target="_blank" rel="noreferrer">join development</a>
 		or
 		<a href="https://owncloud.org/promote"
-			target="_blank">spread the word</a>!'));?>
+			target="_blank" rel="noreferrer">spread the word</a>!'));?>
 	</p>
 	<?php endif; ?>
 
@@ -189,7 +189,7 @@ if($_['passwordChangeSupported']) {
 	</select>
 	<?php if (OC_Util::getEditionString() === ''): ?>
 	<a href="https://www.transifex.com/projects/p/owncloud/team/<?php p($_['activelanguage']['code']);?>/"
-		target="_blank">
+		target="_blank" rel="noreferrer">
 		<em><?php p($l->t('Help translate'));?></em>
 	</a>
 	<?php endif; ?>
@@ -294,9 +294,7 @@ if($_['passwordChangeSupported']) {
 <div class="section">
 	<h2><?php p($l->t('Version'));?></h2>
 	<strong><?php p($theme->getTitle()); ?></strong> <?php p(OC_Util::getHumanVersion()) ?><br />
-<?php if (OC_Util::getEditionString() === ''): ?>
-	<?php print_unescaped($l->t('Developed by the <a href="http://ownCloud.org/contact" target="_blank">ownCloud community</a>, the <a href="https://github.com/owncloud" target="_blank">source code</a> is licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank"><abbr title="Affero General Public License">AGPL</abbr></a>.')); ?>
-<?php endif; ?>
+	<?php include('settings.development.notice.php'); ?>
 </div>
 
 <div class="section credits-footer">
diff --git a/settings/templates/settings.development.notice.php b/settings/templates/settings.development.notice.php
new file mode 100644
index 0000000000000000000000000000000000000000..c88c90f6b6b7119fdb6ec308616d952582546837
--- /dev/null
+++ b/settings/templates/settings.development.notice.php
@@ -0,0 +1,19 @@
+<?php if (OC_Util::getEditionString() === ''): ?>
+	<p>
+		<?php print_unescaped(str_replace(
+			[
+				'{communityopen}',
+				'{githubopen}',
+				'{licenseopen}',
+				'{linkclose}',
+			],
+			[
+				'<a href="https://owncloud.org/contact" target="_blank" rel="noreferrer">',
+				'<a href="https://github.com/owncloud" target="_blank" rel="noreferrer">',
+				'<a href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank" rel="noreferrer">',
+				'</a>',
+			],
+			$l->t('Developed by the {communityopen}ownCloud community{linkclose}, the {githubopen}source code{linkclose} is licensed under the {licenseopen}<abbr title="Affero General Public License">AGPL</abbr>{linkclose}.')
+		)); ?>
+	</p>
+<?php endif; ?>