diff --git a/lib/mustache/readme_moodle.txt b/lib/mustache/readme_moodle.txt
index 27e56b4f9fc..6bc4acffe4f 100644
--- a/lib/mustache/readme_moodle.txt
+++ b/lib/mustache/readme_moodle.txt
@@ -6,8 +6,8 @@ at https://github.com/bobthecow/mustache.php/releases)
2) Move the src/ and LICENSE file into lib/mustache
e.g.
-wget https://github.com/bobthecow/mustache.php/archive/v2.11.1.zip
-unzip v2.11.1.zip
-cd mustache.php-2.11.1/
+wget https://github.com/bobthecow/mustache.php/archive/v2.12.0.zip
+unzip v2.12.0.zip
+cd mustache.php-2.12.0/
mv src /path/to/moodle/lib/mustache/
mv LICENSE /path/to/moodle/lib/mustache/
diff --git a/lib/thirdpartylibs.xml b/lib/thirdpartylibs.xml
index ce97f483e9b..4d0b4e4068f 100644
--- a/lib/thirdpartylibs.xml
+++ b/lib/thirdpartylibs.xml
@@ -227,7 +227,7 @@
mustache
Mustache
MIT
- 2.11.1
+ 2.12.0
amd/src/mustache.js