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)
Published Oct 17, 2025
6.4
MEDIUMCVSS 4.0
EPSS 1.01%
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.
Affected products
- Vendor n/a Product Mammoth Defaultn/a
- Version 0StatusaffectedConstraints<1.11.0
- Version
- Vendor n/a Product Mammoth Defaultn/a
- Version 0.3.25StatusaffectedConstraints<1.11.0
- Version
- Vendor n/a Product Org.zwobble.mammoth:mammoth Defaultn/a
- Version 0StatusaffectedConstraints<1.11.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Mammoth | n/a |
| ||||||
| n/a | Mammoth | n/a |
| ||||||
| n/a | Org.zwobble.mammoth:mammoth | n/a |
|
No data.
No data.
No Red Hat product state for this CVE.
mammoth
npm
Introduced 0.3.25 Fixed 1.11.0org.zwobble.mammoth:mammoth
Maven
Introduced 0 Fixed 1.11.0mammoth
PyPI
Introduced 0.3.25 Fixed 1.11.0Mammoth
NuGet
Introduced 0 Fixed 1.11.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | mammoth | 0.3.25 | 1.11.0 |
| Maven | org.zwobble.mammoth:mammoth | 0 | 1.11.0 |
| PyPI | mammoth | 0.3.25 | 1.11.0 |
| NuGet | Mammoth | 0 | 1.11.0 |
Remediation
No remediation recorded yet.
Metrics
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
2 other sources (CVE.org, NVD) ▾
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
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
1 other source (CVE.org) ▾
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H/E:P
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Oct 17, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.01% (0.01010) | 61.79th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.92% (0.00921) | 55.46th | v5 (v2026.06.15) |
| Oct 17, 2025 | 0.24% (0.00238) | 46.87th | v4 (v2025.03.14) |
References (8)
- https://gist.github.com/AudunWA/4d690d9ae5efdafe7cf71d9c2ee90a10 exploit
- https://github.com/advisories/GHSA-rmjr-87wv-gf87 Advisory
- https://github.com/mwilliamson/mammoth.js/commit/c54aaeb43a7941317c1f3c119ffa92090f988820
- https://nvd.nist.gov/vuln/detail/CVE-2025-11849
- 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
- https://security.snyk.io/vuln/SNYK-PYTHON-MAMMOTH-13561967
Change history (0)
No recorded changes yet.