Loading...
Skip to main content

CVE-2025-11849 — Vulnerability in org.zwobble.mammoth:mammoth —...

MEDIUM

Mammoth is vulnerable to Directory Traversal

Published October 17, 2025Updated July 7, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published October 17, 2025 (360 days ago).
  • Last revised July 7, 2026 — 263 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.zwobble.mammoth:mammoth to 1.11.0 or later
<!-- Update pom.xml dependency version to 1.11.0 for org.zwobble.mammoth:mammoth -->
pip
Update mammoth to 1.11.0 or later
pip install "mammoth>=1.11.0"
NuGet
Update Mammoth to 1.11.0 or later
dotnet add package Mammoth --version 1.11.0
npm
Update mammoth to 1.11.0 or later
npm install mammoth@1.11.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 4 ecosystems: maven (1), npm (1), nuget (1), pypi (1).

PackageEcosystemAffectedFixed In
org.zwobble.mammoth:mammoth
maven
0.0.1, 0.0.2, 0.0.3, 0.0.4 (+10 more)1.11.0
mammoth
pypi
0.3.25, 0.3.26, 0.3.27, 0.3.29 (+47 more)1.11.0
Mammoth
nuget
0.0.1, 0.0.2, 1.3.1, 1.3.2 (+2 more)1.11.0
mammoth
npm
All versions1.11.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H

Frequently Asked Questions

What is CVE-2025-11849?
Mammoth is vulnerable to Directory Traversal This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.3/10).
How do I check if my project is affected by CVE-2025-11849?
CVE-2025-11849 affects org.zwobble.mammoth:mammoth, mammoth and Mammoth. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-11849 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.3

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-rmjr-87wv-gf87
PYSEC-2026-1603

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies