chore(deps): update dependency @excalidraw/excalidraw to v0.18.1 [security]#2044
Open
ggrossetie wants to merge 1 commit into
Open
chore(deps): update dependency @excalidraw/excalidraw to v0.18.1 [security]#2044ggrossetie wants to merge 1 commit into
ggrossetie wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
0.18.0→0.18.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Excalidraw vulnerable to XSS via Mermaid sequence diagram labels (KaTeX rendering)
GHSA-39h7-pwv7-rc3x
More information
Details
Impact
@excalidraw/excalidraw@0.18.0depends on a Mermaid conversion package version that resolves to a Mermaid release affected by CVE-2025-54881 / GHSA-7rqq-prvp-x9jh. User-supplied Mermaid sequence diagram labels could trigger XSS through Mermaid’s KaTeX label rendering path.This is patched in
@excalidraw/excalidraw@0.18.1by updating@excalidraw/mermaid-to-excalidrawto2.2.2, which uses a patched Mermaid 11 release.Moderate severity as this XSS requires manual user action - pasting unsafe Mermaid diagram into the Excalidraw editor. No semi-automated attack vector exists by default (such as accessing a link).
Patches
@excalidraw/excalidraw@0.18.1is patched.@excalidraw/excalidraw@nexthas resolved to patched builds since@excalidraw/excalidraw@0.18.0-f29edfon 2025-08-21.@excalidraw/mermaid-to-excalidrawshould use1.1.3or later.Workarounds
None.
Resources
Severity
Medium
References
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
excalidraw/excalidraw (@excalidraw/excalidraw)
v0.18.1Compare Source
Security patch release for
@excalidraw/excalidraw@0.18.x, addressing upstream Mermaid XSS vulnerability CVE-2025-54881 / GHSA-7rqq-prvp-x9jh.@excalidraw/mermaid-to-excalidrawto2.2.2@types/d3-dispatchfor compatibility with the 0.18.x TypeScript versionConfiguration
📅 Schedule: (UTC)
🚦 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 has been generated by Mend Renovate.