diff --git a/privacy/classes/local/request/moodle_content_writer.php b/privacy/classes/local/request/moodle_content_writer.php
index ab0588d1773..3ac96037823 100644
--- a/privacy/classes/local/request/moodle_content_writer.php
+++ b/privacy/classes/local/request/moodle_content_writer.php
@@ -623,8 +623,8 @@ class moodle_content_writer implements content_writer {
$targetpath = ['js', 'general.js'];
$this->copy_data($jspath, $targetpath);
- $jquery = ['lib', 'jquery', 'jquery-3.2.1.min.js'];
- $jquerydestination = ['js', 'jquery-3.2.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 3139ce781a6..5cf463d271e 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.2.1.min",
+ "jquery": "./js/jquery-3.5.1.min",
"tree": "./js/tree.min"
}
});