Skip to content
Discussion options

You must be logged in to vote

Please see any of the many times this question has been asked https://github.com/mdx-js/mdx/issues?q=is%3Aissue+trim+is%3Aclosed+vulnerable and discussed https://github.com/mdx-js/mdx/discussions?discussions_q=trim+security

To reiterate:

  1. This is not an exploit, it is a potential slow down. remark-parse 9+, react-markdown 6+, and mdx 2 address this, and provide other performance improvements.
    https://overreacted.io/npm-audit-broken-by-design provides some additional insights into why npm audit and snyk, while useful, can also be broken for packages like react and mdx, flagging non-issues.
  2. MDX version 1 cannot be patched (#1548 (comment))
  3. MDX version 2 no longer uses trim as a dependency

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants