From 010b0bd54abc7bdd69663d75a011689b4c79edd6 Mon Sep 17 00:00:00 2001 From: Milo Moisson Date: Wed, 11 Dec 2024 17:57:23 +0100 Subject: [PATCH] fix(exec-high): reorder subtitutions to correctly replace double pipe (||) --- vulnerabilities/exec/source/high.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulnerabilities/exec/source/high.php b/vulnerabilities/exec/source/high.php index 5c46112ab..536868781 100644 --- a/vulnerabilities/exec/source/high.php +++ b/vulnerabilities/exec/source/high.php @@ -6,6 +6,7 @@ // Set blacklist $substitutions = array( + '||' => '', '&' => '', ';' => '', '| ' => '', @@ -14,7 +15,6 @@ '(' => '', ')' => '', '`' => '', - '||' => '', ); // Remove any of the characters in the array (blacklist).