Update mdast-util-to-hast version to 13.2.1#935
Update mdast-util-to-hast version to 13.2.1#935arnlaugsson wants to merge 1 commit intoremarkjs:mainfrom
Conversation
CVE-2025-66400: mdast-util-to-hast is an mdast utility to transform to hast. From 13.0.0 to before 13.2.1, multiple (unprefixed) classnames could be added in markdown source by using character references. This could make rendered user-supplied markdown code elements appear like the rest of the page. This vulnerability is fixed in 13.2.1. Medium Vulnerability. Signed-off-by: Skúli Arnlaugsson <arnlaugsson@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #935 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 1743 1743
Branches 123 123
=========================================
Hits 1743 1743 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
See: #933 (comment) |
|
Hi! This was closed. Team: If this was merged, please describe when this is likely to be released. Otherwise, please add one of the |
|
When we are planning to add this fix? It will be new version of react-markdown? |
|
It is already fixed
If you don't see the update yet, clear you lock file and reinstall. |
Initial checklist
Description of changes
Addressing a Medium vulnerability CVE-2025-66400: mdast-util-to-hast is an mdast utility to transform to hast. From 13.0.0 to before 13.2.1, multiple (unprefixed) classnames could be added in markdown source by using character references. This could make rendered user-supplied markdown code elements appear like the rest of the page. This vulnerability is fixed in 13.2.1.