chore(deps): update dependency mdast-util-to-hast to v13.2.1 [security] #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
13.2.0→13.2.1GitHub Vulnerability Alerts
CVE-2025-66400
Impact
Multiple (unprefixed) classnames could be added in markdown source by using character references.
This could make rendered user supplied markdown
codeelements appear like the rest of the page.The following markdown:
Would create
<pre><code class="language-js xss"></code></pre>If your page then applied
.xssclasses (or listeners in JS), those apply to this element.For more info see https://github.com/ChALkeR/notes/blob/master/Improper-markup-sanitization.md#unsanitized-class-attribute
Patches
The bug was patched. When using regular semver, run
npm install. For exact ranges, make sure to use13.2.1.Workarounds
Update.
References
Release Notes
syntax-tree/mdast-util-to-hast (mdast-util-to-hast)
v13.2.1Compare Source
Fix
ab3a795Fix support for spaces in class namesTypes
efb5312Refactor to use@importsa5bc210Add declaration mapsFull Changelog: syntax-tree/mdast-util-to-hast@13.2.0...13.2.1
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.