Skip to main content
← All vulnerabilities
CVE-2025-11849GHSA-RMJR-87WV-GF87PYSEC-2026-1603

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 th

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.11.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n/a mammoth

    From 0.3.25 · fixed in 1.11.0

  • n/a mammoth

    From 0.3.25 · fixed in 1.11.0

  • n/a Mammoth

    fixed in 1.11.0

  • n/a org.zwobble.mammoth:mammoth

    fixed in 1.11.0

  • mammothnpm

    From 0.3.25 · fixed in 1.11.0

  • org.zwobble.mammoth:mammothMaven

    fixed in 1.11.0

  • mammothPyPI

    From 0.3.25 · fixed in 1.11.0

  • MammothNuGet

    fixed in 1.11.0

References 6

security.snyk.io

gist.github.com

GitHub · mwilliamson/mammoth.js