diff --git a/packaging/war/src/main/webapp/index.jsp b/packaging/war/src/main/webapp/index.jsp
index 97357660e6..3628992c3b 100644
--- a/packaging/war/src/main/webapp/index.jsp
+++ b/packaging/war/src/main/webapp/index.jsp
@@ -34,6 +34,7 @@
<%@ page import="org.alfresco.service.cmr.module.ModuleDetails" %>
<%@ page import="org.alfresco.service.cmr.module.ModuleInstallState" %>
<%@ page import="java.util.Calendar" %>
+<%@ page import="org.owasp.encoder.Encode" %>
<%
@@ -88,7 +89,7 @@ ModuleDetails shareServicesModule = moduleService.getModule("alfresco-share-serv
Alfresco WebScripts Home (admin only - INTERNAL)
- Alfresco API Explorer
+ Alfresco API Explorer
<%
if (descriptorService.getLicenseDescriptor() == null && transactionService.isReadOnly())
{
diff --git a/pom.xml b/pom.xml
index bd4bb4a9b8..6092468ee6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -403,7 +403,7 @@
commons-fileupload
commons-fileupload
- 1.5
+ 1.6.0
diff --git a/scripts/ci/remove-sast-exclusions.sh b/scripts/ci/remove-sast-exclusions.sh
new file mode 100644
index 0000000000..8826cb2aa1
--- /dev/null
+++ b/scripts/ci/remove-sast-exclusions.sh
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+echo "=========================== Excluding Files from Veracode SAST ==========================="
+set -ex
+pushd "$(dirname "${BASH_SOURCE[0]}")/../../"
+
+# Copy war file to temporary directory
+cp -f "$1" "$2"
+
+# Remove files to be excluded from Veracode SAST
+exclusions="./scripts/ci/SAST-exclusion-list.txt"
+if [ -e $exclusions ]
+then
+ while read -r line
+ do
+ echo "Removing WEB-INF/lib/$line"
+ zip -d "$2" "WEB-INF/lib/$line" || true
+ done < "$exclusions"
+else
+ echo "No files to be excluded from SAST"
+fi
+
+popd
+set +ex
+echo "=========================== Finishing Excluding Files from Veracode SAST =========================="