diff --git a/CHANGELOG b/CHANGELOG
index 67a535303dc..97df1225835 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,8 @@
+mkdocs-material-9.5.42 (2024-10-20)
+
+  * Fixed #7625: Invalid encoding of boolean attributes in privacy plugin
+  * Fixed #7624: Crash when disabling privacy plugin (9.5.41 regression)
+
 mkdocs-material-9.5.41 (2024-10-15)
 
   * Fixed #7619: Improved tooltip on logo disappears after instant navigation
diff --git a/docs/changelog/index.md b/docs/changelog/index.md
index 5f64e23b709..624e921404e 100644
--- a/docs/changelog/index.md
+++ b/docs/changelog/index.md
@@ -2,6 +2,11 @@
 
 ## Material for MkDocs
 
+### 9.5.42 <small>October 20, 2024</small> { id="9.5.42" }
+
+- Fixed #7625: Invalid encoding of boolean attributes in privacy plugin
+- Fixed #7624: Crash when disabling privacy plugin (9.5.41 regression)
+
 ### 9.5.41 <small>October 15, 2024</small> { id="9.5.41" }
 
 - Fixed #7619: Improved tooltip on logo disappears after instant navigation
diff --git a/material/__init__.py b/material/__init__.py
index a2ff55fe0ed..7569b8145d2 100644
--- a/material/__init__.py
+++ b/material/__init__.py
@@ -18,4 +18,4 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 # IN THE SOFTWARE.
 
-__version__ = "9.5.41"
+__version__ = "9.5.42"
diff --git a/material/templates/base.html b/material/templates/base.html
index fd14d639137..0b0e203cad1 100644
--- a/material/templates/base.html
+++ b/material/templates/base.html
@@ -32,7 +32,7 @@
         <link rel="alternate" type="application/rss+xml" title="{{ lang.t('rss.updated') }}" href="{{ 'feed_rss_updated.xml' | url }}">
       {% endif %}
       <link rel="icon" href="{{ config.theme.favicon | url }}">
-      <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-9.5.41">
+      <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-9.5.42">
     {% endblock %}
     {% block htmltitle %}
       {% if page.meta and page.meta.title %}
diff --git a/package-lock.json b/package-lock.json
index cea6ad9af25..e87a875153a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
   "name": "mkdocs-material",
-  "version": "9.5.41",
+  "version": "9.5.42",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {
     "": {
       "name": "mkdocs-material",
-      "version": "9.5.41",
+      "version": "9.5.42",
       "license": "MIT",
       "dependencies": {
         "clipboard": "^2.0.11",
diff --git a/package.json b/package.json
index 53d0ef2670d..5fc52cc3e8e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "mkdocs-material",
-  "version": "9.5.41",
+  "version": "9.5.42",
   "description": "Documentation that simply works",
   "keywords": [
     "mkdocs",