{"cve":"CVE-2025-11849","nvd":{"published":"2025-10-17T05:15:33.960","modified":"2026-10-19T16:10:00.260","status":"Deferred","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:H/E:P","score":5.4},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H","score":9.3},"cwes":["CWE-22"],"references":["https://gist.github.com/AudunWA/4d690d9ae5efdafe7cf71d9c2ee90a10","https://github.com/mwilliamson/mammoth.js/commit/c54aaeb43a7941317c1f3c119ffa92090f988820","https://security.snyk.io/vuln/SNYK-DOTNET-MAMMOTH-13561968","https://security.snyk.io/vuln/SNYK-JAVA-ORGZWOBBLEMAMMOTH-13561969","https://security.snyk.io/vuln/SNYK-JS-MAMMOTH-13554470"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:12:35.277909958+00:00"},"epss":{"cve":"CVE-2025-11849","score":0.01126,"percentile":0.66088,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-rmjr-87wv-gf87","url":"https://osv.dev/vulnerability/GHSA-rmjr-87wv-gf87","summary":"Mammoth is vulnerable to Directory Traversal","modified":"2026-07-07T17:56:05.627288066Z","packages":[{"ecosystem":"npm","name":"mammoth","purl":"pkg:npm/mammoth","ranges":[">=0.3.25 <1.11.0"],"fixed":["1.11.0"]},{"ecosystem":"Maven","name":"org.zwobble.mammoth:mammoth","purl":"pkg:maven/org.zwobble.mammoth/mammoth","ranges":["<1.11.0"],"fixed":["1.11.0"]},{"ecosystem":"PyPI","name":"mammoth","purl":"pkg:pypi/mammoth","ranges":[">=0.3.25 <1.11.0"],"fixed":["1.11.0"]},{"ecosystem":"NuGet","name":"Mammoth","purl":"pkg:nuget/Mammoth","ranges":["<1.11.0"],"fixed":["1.11.0"]}]},{"id":"PYSEC-2026-1603","url":"https://osv.dev/vulnerability/PYSEC-2026-1603","summary":"Mammoth is vulnerable to Directory Traversal","modified":"2026-07-07T17:46:15.308467092Z","packages":[{"ecosystem":"PyPI","name":"mammoth","purl":"pkg:pypi/mammoth","ranges":[">=0.3.25 <1.11.0"],"fixed":["1.11.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}