Mwilliamson mammoth.js
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.4high · scored by CNA · CWE-1321
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
mwilliamson mammoth.js
- < 1.12.2
Fixed in 1.12.2
Mitigation
Upgrade to mammoth 1.12.2 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.