Skip to content

Fix markdown-it security alert#11214

Merged
WiXSL merged 1 commit intomasterfrom
fix-markdown-it-alert
Mar 30, 2026
Merged

Fix markdown-it security alert#11214
WiXSL merged 1 commit intomasterfrom
fix-markdown-it-alert

Conversation

@WiXSL
Copy link
Copy Markdown
Collaborator

@WiXSL WiXSL commented Mar 30, 2026

Summary

Update the transitive markdown-it dependency to a non-vulnerable version by upgrading prosemirror-markdown within its existing semver range.

Alerts

Why

Dependabot reports markdown-it as vulnerable for >= 13.0.0, < 14.1.1.
The repository resolves it through @tiptap/pm -> prosemirror-markdown, and the existing ^1.10.1 range allows prosemirror-markdown@1.13.4, which brings markdown-it@14.1.1.

Impact

This closes the markdown-it security alert without changing any direct dependency declarations.

Validation

  • yarn why markdown-it
  • yarn why prosemirror-markdown
  • yarn install
  • Diff is limited to yarn.lock

@WiXSL WiXSL added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 30, 2026
@WiXSL WiXSL marked this pull request as ready for review March 30, 2026 15:55
@WiXSL WiXSL added this to the 5.14.5 milestone Mar 30, 2026
@WiXSL WiXSL merged commit b7c1aff into master Mar 30, 2026
15 checks passed
@WiXSL WiXSL deleted the fix-markdown-it-alert branch March 30, 2026 16:08
@ThieryMichel ThieryMichel mentioned this pull request Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant