CVE-2026-97151
published high CVSS 4.0 · 8.4mammoth.js vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mwilliamson | — | mammothmammoth.js · 0 to < 1.12.2 · Other versions: unaffected | Affected | Not stated | mitre |
Description
mammoth (aka mammoth.js) before 1.12.2 is vulnerable to prototype pollution when reading the styles defined in a document. Converting a crafted .docx file allows an attacker to add arbitrary properties to Object.prototype. In 1.11.0 through 1.12.1, applications that convert further documents in the same process and return the converted HTML can also disclose the contents of local server files (to the party supplying the documents) by setting externalFileAccess to true.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- mitre · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mwilliamson | mammoth.js | 0 to < 1.12.2 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-1321 CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
4Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2ea0632b33a09093789ff5f7d91c380b7686b17bc34130e2d8e5a7d04ddab143
- Ingested
- 30 Sep 2026, 15:35:53 UTC
- Source record
- Official CVE record