{"id":"CVE-2025-11849","published":"2025-10-17T05:00:06Z","modified":"2025-10-17T14:24:39Z","title":"Versions of the package mammoth from 0.3.25 and before 1.11.0; versions of the package mammoth from 0.3.25 and before…","vendor":null,"product":null,"tier":"tail","description":{"text":"Versions of the package mammoth from 0.3.25 and before 1.11.0; versions of the package mammoth from 0.3.25 and before 1.11.0; versions of the package mammoth before 1.11.0; versions of the package org.zwobble.mammoth:mammoth before 1.11.0 are vulnerable to Directory Traversal due to the lack of path or file type validation when processing a docx file containing an image with an external link (r:link attribute instead of embedded r:embed). The library resolves the URI to a file path and after reading, the content is encoded as base64 and included in the HTML output as a data URI. An attacker can read arbitrary files on the system where the conversion is performed or cause an excessive resources consumption by crafting a docx file that links to special device files such as /dev/random or /dev/zero.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01126,"percentile":0.67111,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-MAMMOTH-13554470","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-MAMMOTH-13561967","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-DOTNET-MAMMOTH-13561968","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGZWOBBLEMAMMOTH-13561969","tags":[]},{"url":"https://gist.github.com/AudunWA/4d690d9ae5efdafe7cf71d9c2ee90a10","tags":[]},{"url":"https://github.com/mwilliamson/mammoth.js/commit/c54aaeb43a7941317c1f3c119ffa92090f988820","tags":[]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":13.42},{"name":"CVSS severity","points":6.51}]},"affectedVersions":[{"vendor":"n/a","product":"mammoth","versions":[">= 0.3.25, < 1.11.0"]},{"vendor":"n/a","product":"mammoth","versions":[">= 0.3.25, < 1.11.0"]},{"vendor":"n/a","product":"Mammoth","versions":["< 1.11.0"]},{"vendor":"n/a","product":"org.zwobble.mammoth:mammoth","versions":["< 1.11.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-10-17T14:24:36.088431Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mammoth","vulnerableRanges":[">=0.3.25, <1.11.0"],"patched":["1.11.0"],"from":["GHSA-rmjr-87wv-gf87"],"provenance":"source"},{"ecosystem":"Maven","package":"org.zwobble.mammoth:mammoth","vulnerableRanges":["<1.11.0"],"patched":["1.11.0"],"from":["GHSA-rmjr-87wv-gf87"],"provenance":"source"},{"ecosystem":"PyPI","package":"mammoth","vulnerableRanges":[">=0.3.25, <1.11.0"],"patched":["1.11.0"],"from":["GHSA-rmjr-87wv-gf87","PYSEC-2026-1603"],"provenance":"source"},{"ecosystem":"NuGet","package":"Mammoth","vulnerableRanges":["<1.11.0"],"patched":["1.11.0"],"from":["GHSA-rmjr-87wv-gf87"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-34861","exploited":false,"provenance":"source"}}