CVE-2025-11849Versions 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…
- 6.4MediumCVSS base score
- 1.1%Exploitation in 30 daysEPSS · top 33% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
Timeline
ID reserved
By snyk
- 1 day later
· 1 day later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 4.0 | Medium6.4 | 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 |
| snykCNA (assigner) | 3.1 | Critical9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H/E:P |
| NVDNVD · Deferred | 4.0 | Medium5.4 | 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 |
- EPSS (exploitation in 30 days)
- 1.1% · top 33% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Affected products
mammoth
- affected 0.3.25 – < 1.11.0
mammoth
- affected 0.3.25 – < 1.11.0
Mammoth
- affected < 1.11.0
org.zwobble.mammoth:mammoth
- affected < 1.11.0
Affected packages
Affected packages4
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.zwobble.mammoth:mammothGHSA-rmjr-87wv-gf87 (opens in a new tab)
- NuGetMammothGHSA-rmjr-87wv-gf87 (opens in a new tab)
- PyPImammothGHSA-rmjr-87wv-gf87 (opens in a new tab)
- npmmammothGHSA-rmjr-87wv-gf87 (opens in a new tab)
References
References6
- https://security.snyk.io/vuln/SNYK-JS-MAMMOTH-13554470 (opens in a new tab)
- https://security.snyk.io/vuln/SNYK-PYTHON-MAMMOTH-13561967 (opens in a new tab)
- https://security.snyk.io/vuln/SNYK-DOTNET-MAMMOTH-13561968 (opens in a new tab)
- https://security.snyk.io/vuln/SNYK-JAVA-ORGZWOBBLEMAMMOTH-13561969 (opens in a new tab)
- https://gist.github.com/AudunWA/4d690d9ae5efdafe7cf71d9c2ee90a10 (opens in a new tab)exploit
- https://github.com/mwilliamson/mammoth.js/commit/c54aaeb43a7941317c1f3c119ffa92090f988820 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-34861 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-rmjr-87wv-gf87 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-11849)Record last updated .