Add remark-mdx-remove-expressions to list of plugins#2677
Add remark-mdx-remove-expressions to list of plugins#2677talatkuyuk wants to merge 1 commit intomdx-js:mainfrom
remark-mdx-remove-expressions to list of plugins#2677Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2677 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 21 21
Lines 2649 2649
Branches 2 2
=========================================
Hits 2649 2649 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thought and suggestion, would it be possible to move the ad and sponsors to under where the project description and when to use are? |
|
I haven't received any negative feedback regarding this layout until now. In all the packages I've published, I preferred to place the sponsors and ads section at the very top, even before the project name, I try to keep that section very brief. However, I will take your suggestion into consideration. I might plan this as a collective update across all my packages. |
|
I get it's a tricky balance, needing revenue sources like sponsors/ads etc to fund your work. |
Initial checklist
Description of changes
If MDX content is not fully trusted, then Remote Code Execution (RCE) is inherently possible. This is clearly documented in MDX and related integration package documentation.
Lately, it is reported that the critical vulnerability CVE-2026-0969 may cause RCEs.
remark-mdx-remove-expressions is a remark plugin that removes MDX expressions.
It is a remark plugin to sanitize MDX content by removing JS expressions for enhanced security, allowing you to explicitly control JS expression handling in MDX.
It can remove all JS expressions from MDX content, but it is more suitable to use safer balanced mode (recommended) removes only dangerous MDX expressions:
This change adds
remark-mdx-remove-expressionsto the plugin list in the docs.