Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mkdocs-material for 
openSUSE:Factory checked in at 2026-11-21 21:45:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mkdocs-material (Old)
 and      /work/SRC/openSUSE:Factory/.python-mkdocs-material.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mkdocs-material"

Sat Nov 21 21:45:38 2026 rev:107 rq:1398960 version:9.8.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-mkdocs-material/python-mkdocs-material.changes
    2026-11-10 14:40:16.047181361 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-mkdocs-material.new.1340718/python-mkdocs-material.changes
       2026-11-21 21:46:16.634798584 +0100
@@ -1,0 +2,7 @@
+Fri Nov 20 05:38:03 UTC 2026 - Johannes Kastl 
<[email protected]>
+
+- update to 9.8.2:
+  * Fixed a security vulnerability in the privacy plugin
+    (GHSA-wxw8-4jgj-q85j)
+
+-------------------------------------------------------------------

Old:
----
  mkdocs_material-9.8.1.tar.gz

New:
----
  mkdocs_material-9.8.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-mkdocs-material.spec ++++++
--- /var/tmp/diff_new_pack.5CpAVn/_old  2026-11-21 21:46:17.423831625 +0100
+++ /var/tmp/diff_new_pack.5CpAVn/_new  2026-11-21 21:46:17.425831709 +0100
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-mkdocs-material
-Version:        9.8.1
+Version:        9.8.2
 Release:        0
 Summary:        Material theme for mkdocs
 License:        MIT

++++++ mkdocs_material-9.8.1.tar.gz -> mkdocs_material-9.8.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mkdocs_material-9.8.1/PKG-INFO 
new/mkdocs_material-9.8.2/PKG-INFO
--- old/mkdocs_material-9.8.1/PKG-INFO  2020-02-02 01:00:00.000000000 +0100
+++ new/mkdocs_material-9.8.2/PKG-INFO  2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.5
 Name: mkdocs-material
-Version: 9.8.1
+Version: 9.8.2
 Summary: Documentation that simply works
 Project-URL: Documentation, https://squidfunk.github.io/mkdocs-material/
 Project-URL: Source, https://github.com/squidfunk/mkdocs-material
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mkdocs_material-9.8.1/material/__init__.py 
new/mkdocs_material-9.8.2/material/__init__.py
--- old/mkdocs_material-9.8.1/material/__init__.py      2020-02-02 
01:00:00.000000000 +0100
+++ new/mkdocs_material-9.8.2/material/__init__.py      2020-02-02 
01:00:00.000000000 +0100
@@ -18,4 +18,4 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 # IN THE SOFTWARE.
 
-__version__ = "9.8.1"
+__version__ = "9.8.2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mkdocs_material-9.8.1/material/plugins/privacy/plugin.py 
new/mkdocs_material-9.8.2/material/plugins/privacy/plugin.py
--- old/mkdocs_material-9.8.1/material/plugins/privacy/plugin.py        
2020-02-02 01:00:00.000000000 +0100
+++ new/mkdocs_material-9.8.2/material/plugins/privacy/plugin.py        
2020-02-02 01:00:00.000000000 +0100
@@ -625,7 +625,9 @@
     # that hidden folders (`.` after `/`) are unhidden. Otherwise MkDocs will
     # not consider them being part of the build and refuse to copy them.
     def _path_from_url(self, url: URL):
-        path = posixpath.normpath(url.path)
+        # Decode before normalization, so percent-encoded dot segments cannot
+        # escape the URL path's root when the path is later used on disk.
+        path = posixpath.normpath(unquote(url.path))
         path = re.sub(r"/\.", "/_", path)
 
         # Compute digest of query string, as some URLs yield different results
@@ -644,13 +646,33 @@
 
     # Create a file for the given path
     def _path_to_file(self, path: str, config: MkDocsConfig):
-        return File(
-            posixpath.join(self.config.assets_fetch_dir, unquote(path)),
+        file = File(
+            posixpath.join(self.config.assets_fetch_dir, path),
             os.path.abspath(self.config.cache_dir),
             config.site_dir,
             False
         )
 
+        # Keep both the cached source and published destination inside their
+        # configured roots, including when existing path components are links.
+        for path, root in (
+            (file.abs_src_path, self.config.cache_dir),
+            (file.abs_dest_path, config.site_dir)
+        ):
+            root = os.path.normcase(os.path.realpath(root))
+            path = os.path.normcase(os.path.realpath(path))
+            try:
+                if os.path.commonpath((root, path)) != root:
+                    raise PluginError(
+                        "External asset path escapes its configured directory"
+                    )
+            except ValueError as error:
+                raise PluginError(
+                    "External asset path escapes its configured directory"
+                ) from error
+
+        return file
+
     # Create a file on the system with the given content
     def _save_to_file(self, path: str, content: str | bytes):
         os.makedirs(os.path.dirname(path), exist_ok = True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mkdocs_material-9.8.1/material/templates/base.html 
new/mkdocs_material-9.8.2/material/templates/base.html
--- old/mkdocs_material-9.8.1/material/templates/base.html      2020-02-02 
01:00:00.000000000 +0100
+++ new/mkdocs_material-9.8.2/material/templates/base.html      2020-02-02 
01:00:00.000000000 +0100
@@ -37,7 +37,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.8.1">
+      <meta name="generator" content="mkdocs-{{ mkdocs_version }}, 
mkdocs-material-9.8.2">
     {% endblock %}
     {% block htmltitle %}
       {% if page.meta and page.meta.title %}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mkdocs_material-9.8.1/package.json 
new/mkdocs_material-9.8.2/package.json
--- old/mkdocs_material-9.8.1/package.json      2020-02-02 01:00:00.000000000 
+0100
+++ new/mkdocs_material-9.8.2/package.json      2020-02-02 01:00:00.000000000 
+0100
@@ -1,6 +1,6 @@
 {
   "name": "mkdocs-material",
-  "version": "9.8.1",
+  "version": "9.8.2",
   "description": "Documentation that simply works",
   "keywords": [
     "mkdocs",

Reply via email to