diff --git a/privacy/classes/local/request/moodle_content_writer.php b/privacy/classes/local/request/moodle_content_writer.php
index ba9d231304a..57b40af81d2 100644
--- a/privacy/classes/local/request/moodle_content_writer.php
+++ b/privacy/classes/local/request/moodle_content_writer.php
@@ -627,8 +627,8 @@ class moodle_content_writer implements content_writer {
$targetpath = ['js', 'general.js'];
$this->copy_data($jspath, $targetpath);
- $jquery = ['lib', 'jquery', 'jquery-3.4.1.min.js'];
- $jquerydestination = ['js', 'jquery-3.4.1.min.js'];
+ $jquery = ['lib', 'jquery', 'jquery-3.5.1.min.js'];
+ $jquerydestination = ['js', 'jquery-3.5.1.min.js'];
$this->copy_data($jquery, $jquerydestination);
$requirecurrentpath = ['lib', 'requirejs', 'require.min.js'];
diff --git a/privacy/templates/htmlpage.mustache b/privacy/templates/htmlpage.mustache
index 6c040ef0c2e..ffe03376cf8 100644
--- a/privacy/templates/htmlpage.mustache
+++ b/privacy/templates/htmlpage.mustache
@@ -65,7 +65,7 @@
{{#str}}viewdata, core_privacy{{/str}}
-
+
@@ -74,7 +74,7 @@
"baseUrl": "./",
"paths": {
"app": "./",
- "jquery": "./js/jquery-3.4.1.min",
+ "jquery": "./js/jquery-3.5.1.min",
"core/tree": "./js/tree.min"
}
});