CVE-2025-11849

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.

Risk Information

Base Score
9.3
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
EPSS Score
Exploitation Probability
0.233

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2025-11849 are fixed in Nuget - Mammoth 1.11.0Windows
Vulnerabilities CVE-2025-11849 are fixed in Zwobble - mammoth 1.11.0Windows
Vulnerabilities CVE-2025-11849 are fixed in Python-mammoth 1.11.0Windows
Vulnerabilities CVE-2025-11849 are fixed in Nuget - Mammoth for Linux 1.11.0Linux
Vulnerabilities CVE-2025-11849 are fixed in Zwobble - mammoth for Linux 1.11.0Linux
Vulnerabilities CVE-2025-11849 are fixed in Python-mammoth for linux 1.11.0Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234