Headline
CVE-2022-0937: file upload bug · star7th/showdoc@42c0d98
Stored xss in showdoc through file upload in GitHub repository star7th/showdoc prior to 2.10.4.
@@ -300,6 +300,7 @@ public function isDangerFilename($filename){
$isDangerStr($filename , “.php”)
|| $isDangerStr($filename , “.svg”)
|| $isDangerStr($filename , “.htm”)
|| $isDangerStr($filename , “.shtm”)
|| $isDangerStr($filename , “%”)
|| $isDangerStr($filename , “.xml”)
) {