We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0527d8 commit 227d04cCopy full SHA for 227d04c
1 file changed
README.md
@@ -335,6 +335,13 @@ For instance:
335
To enable access when converting trusted source documents,
336
call `enableExternalFileAccess()`.
337
338
+* The conversion may exhibit pathological performance on certain documents:
339
+ it's likely possible to craft a source document that causes high CPU or memory usage.
340
+ Depending on the performance constraints of your application and the likelihood of receiving untrusted input,
341
+ you may wish to consider isolating any calls to Mammoth,
342
+ such as running Mammoth in a separate thread with a timeout,
343
+ to prevent denial-of-service attacks.
344
+
345
## Writing style maps
346
347
A style map is made up of a number of style mappings separated by new lines.
0 commit comments