Skip to content

Update dependency mermaid to v10 (main)#2046

Open
mend-for-github-com[bot] wants to merge 1 commit into
mainfrom
whitesource-remediate/main-mermaid-10.x
Open

Update dependency mermaid to v10 (main)#2046
mend-for-github-com[bot] wants to merge 1 commit into
mainfrom
whitesource-remediate/main-mermaid-10.x

Conversation

@mend-for-github-com
Copy link
Copy Markdown

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change
mermaid dependencies major ^8.11.0^10.0.0

By merging this PR, the issue #1426 will be automatically resolved and closed:

Severity CVSS Score Vulnerability Reachability
High High 7.5 WS-2022-0322

Unreachable

Medium Medium 4.7 CVE-2026-41148
Medium Medium 4.7 CVE-2026-41149
Medium Medium 4.7 CVE-2026-41150
Medium Medium 4.7 CVE-2026-41159
Medium Medium 4.1 CVE-2022-31108

Unreachable


Release Notes

mermaid-js/mermaid (mermaid)

v10.9.6

Compare Source

Backports the following security fixes from Mermaid v11.15.0:

And other dependency updates.

Full Changelog: mermaid-js/mermaid@v10.9.5...v10.9.6

v10.9.5

Compare Source

This release backports the update of the dependency dagre-d3-es to 7.0.13 for CVE-2025-57347 from v11.12.1.

We've also updated the v10.x branch to support newer versions of DOMPurify, cherry-picked from fe3cffb, avoiding CVE-2025-26791.

Full Changelog: mermaid-js/mermaid@v10.9.4...v10.9.5

v10.9.4

Compare Source

This release backports the fix for GHSA-7rqq-prvp-x9jh from v11.10.0, preventing a potential XSS attack in labels in sequence diagrams.

See: 9d68517 (on main branch)
See: 7509b06 (backported commit)

Full Changelog: mermaid-js/mermaid@v10.9.3...v10.9.4

v10.9.3

Compare Source

Updates the bundled version of dependencies in the following files:

  • dist/mermaid.min.js
  • dist/mermaid.js
  • dist/mermaid.esm.mjs
  • dist/mermaid.esm.min.mjs

If you are not using these files (e.g. you are using the default NPM export of mermaid, e.g. import mermaid from 'mermaid', or you are using dist/mermaid.core.mjs), this release is identical to v10.9.2.

This is to avoid potential security issues in KaTeX and DOMPurify, see:

These dependencies have already been updated in v11.0.0.

Changelog

Chore
  • Updates the bundled version of KaTeX to 0.16.11 (2bedd0e)
  • Updates the bundled version of DOMPurify to 3.1.6 (92a07ff)

Full Changelog: mermaid-js/mermaid@v10.9.2...v10.9.3

v10.9.2

Compare Source

This release back-ports #​5914 to the v10 release line to fix #​5904 (an incompatibility between mermaid and DOMPurify v3.1.7)

Patch Changes

Full Changelog: mermaid-js/mermaid@v10.9.1...v10.9.2

v10.9.1

Compare Source

What's Changed

BugFixes

  • Cleaning of labels in Block diagram by @​knsv

Docs

New Contributors

Full Changelog: mermaid-js/mermaid@v10.9.0...v10.9.1

v10.9.0

Compare Source

Release Notes

We now have Katex support!

image
Demo

🚀 Features

🧰 Maintenance

📚 Documentation

🎉 Thanks to all contributors helping with this release! 🎉

v10.8.0

Compare Source

v10.8.0

Features

image

Documentation

Bug fixes

Chores

New Contributors

Full Changelog: mermaid-js/mermaid@v10.7.0...v10.8.0

v10.7.0

Compare Source

Release Notes

🚀 Features

🐛 Bug Fixes

🧰 Maintenance

📚 Documentation

🎉 Thanks to all contributors helping with this release! 🎉

v10.6.1: 10.6.1

Compare Source

What's Changed

Bugfixes

  • fix(flow): fix invalid ellipseText regex (#​5016) @​aloisklink
    • This was causing freezes in flowcharts that had a ( char in ellipse nodes

Documentation

Chores

🎉 Thanks to all contributors helping with this release! 🎉

v10.6.0: 10.6.0

Compare Source

What's Changed

Fix

Docs

Chores

New Contributors

Full Changelog: mermaid-js/mermaid@v10.5.1...v10.6.0

v10.5.1

Compare Source

What's Changed

Full Changelog: mermaid-js/mermaid@v10.5.0...v10.5.1

v10.5.0: 10.5.0

Compare Source

What's Changed

Features
Bugfixes
Documentation
Chores

New Contributors

Full Changelog: mermaid-js/mermaid@v10.4.0...v10.5.0

v10.4.0

Compare Source

Features

Docs

Chores

New Contributors

Full Changelog: mermaid-js/mermaid@v10.3.1...v10.4.0

v10.3.1

Compare Source

What's Changed

Bugfixes

@mend-for-github-com mend-for-github-com Bot added the security fix Security fix generated by Mend label May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security fix Security fix generated by Mend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants