diff --git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php
index 43d4b80ec85a907116888248ad89aaddfbe6459f..2240338ee62fb309365156921a739cceb3fd9075 100644
--- a/ecrire/inc/filtres.php
+++ b/ecrire/inc/filtres.php
@@ -203,6 +203,22 @@ function spip_version() {
 	return $version;
 }
 
+/**
+ * Masque la version de SPIP si la globale spip_header_silencieux le demande.
+ *
+ * @global spip_header_silencieux permet de rendre le header minimal pour raisons de securité
+ * 
+ * @param string $version
+ * @return void
+ */
+function header_silencieux($version) {
+	if (isset($GLOBALS['spip_header_silencieux']) && (bool) $GLOBALS['spip_header_silencieux']) {
+		$version = '';
+	}
+
+	return $version;
+}
+
 /**
  * Retourne une courte description d’une révision VCS d’un répertoire
  *
diff --git a/ecrire/public/balises.php b/ecrire/public/balises.php
index e7305d56c068ccbe1238798ff3dd709c537b3b54..e36315817ff2eeeabc1450836bed5a347b2468e2 100644
--- a/ecrire/public/balises.php
+++ b/ecrire/public/balises.php
@@ -390,7 +390,7 @@ function balise_SQUELETTE_dist($p) {
  * @see spip_version()
  * @example
  *     ```
- *     <meta name="generator" content="SPIP[ (#SPIP_VERSION)]" />
+ *     [<meta name="generator" content="SPIP (#SPIP_VERSION|header_silencieux)" />]
  *     ```
  *
  * @param Champ $p
diff --git a/prive/login.html b/prive/login.html
index 2bfacf507e0eff572e344605295cf5c09f40063b..bab54611299657a270dd303ad66e8c3a90b03082 100644
--- a/prive/login.html
+++ b/prive/login.html
@@ -18,8 +18,8 @@
 #INSERT_HEAD
 <script type='text/javascript'>
 jQuery(function(){jQuery('a#spip_pass').click(function(){window.open(this.href, 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=380'); return false;});});
-</script>
-<meta name="generator" content="SPIP[ (#SPIP_VERSION)]" />
+</script>[
+<meta name="generator" content="SPIP (#SPIP_VERSION|header_silencieux)" />]
 #SET{logo,#CHEMIN_IMAGE{#CONST{_DIR_IMG}|concat{spip_fond_login.jpg}}}
 [(#CONFIG{couleur_login}|oui)
 	#SET{hs,#CONFIG{couleur_login}|couleur_hex_to_hsl{"h, s"}}
diff --git a/prive/spip_pass.html b/prive/spip_pass.html
index f651754bdc19facb4091b7132f894d138433fda2..ce5649ce6016a9755e90dfb6d5f5ff487a7498f0 100644
--- a/prive/spip_pass.html
+++ b/prive/spip_pass.html
@@ -12,8 +12,8 @@
 <link rel="stylesheet" href="[(#VAL{reset.css}|find_in_theme|direction_css)]" type="text/css" />
 <link rel="stylesheet" href="[(#VAL{clear.css}|find_in_theme|direction_css)]" type="text/css" />
 <link rel="stylesheet" href="[(#VAL{minipres.css}|find_in_theme|direction_css)]" type="text/css" />
-#INSERT_HEAD
-<meta name="generator" content="SPIP[ (#SPIP_VERSION)]" />
+#INSERT_HEAD[
+<meta name="generator" content="SPIP (#SPIP_VERSION|header_silencieux)" />]
 </head>
 <body>