A free, self-hostable news aggregator…
Strip more unsafe attributes e.g. `referrerpolicy` (#7770)
Inverlec952256564c7
diff --git a/lib/lib_rss.php b/lib/lib_rss.phpindex 9fe884cc2..25405017a 100644--- a/lib/lib_rss.php+++ b/lib/lib_rss.php@@ -348,7 +348,8 @@ function customSimplePie(array $attributes = [], array $curl_options = []): \Sim'link', 'onblur', 'onchange', 'onclick', 'ondblclick', 'onfocus','onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onmousedown', 'onmousemove','onmouseout', 'onmouseover', 'onmouseup', 'onselect', 'onunload',- 'seamless', 'sizes', 'srcdoc', 'srcset', 'text', 'vlink',+ 'seamless', 'sizes', 'srcdoc', 'srcset', 'text', 'vlink', 'referrerpolicy', 'ping',+ 'target', 'rel', 'name', 'download', 'attributionsrc',]));$simplePie->add_attributes(['audio' => ['controls' => 'controls', 'preload' => 'none'],