fix(deps): update dependency @excalidraw/excalidraw to v0.17.6 [security]#625
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency @excalidraw/excalidraw to v0.17.6 [security]#625renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
SafeDep Report SummaryPackage Details
This report is generated by SafeDep Github App |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
33312fb to
93df212
Compare
93df212 to
2d5e577
Compare
2d5e577 to
3c6a8f4
Compare
3c6a8f4 to
b3f4a9a
Compare
b3f4a9a to
ff1bb54
Compare
ff1bb54 to
9b09fda
Compare
9b09fda to
b396f01
Compare
b396f01 to
14cea41
Compare
14cea41 to
f4f7265
Compare
f4f7265 to
7c23a69
Compare
7c23a69 to
ae3c0c6
Compare
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.17.0→0.17.6Stored Cross-site Scripting (XSS) in excalidraw's web embed component
CVE-2024-32472 / GHSA-m64q-4jqh-f72f
More information
Details
Summary
A stored XSS vulnerability in Excalidraw's web embeddable component. This allows arbitrary JavaScript to be run in the context of the domain where the editor is hosted.
Poc
Inserting an embed with the below url (can be copy/pasted onto canvas to insert as embed) will log
42to the console:Details
There were two vectors. One rendering untrusted string as iframe's
srcdocwithout properly sanitizing against HTML injection. Second by improperly sanitizing against attribute HTML injection. This in conjunction with allowingallow-same-originsandbox flag (necessary for several embeds) resulted in the XSS.Former was fixed by no longer rendering unsafe
srcdoccontent verbatim, and instead strictly parsing the supplied content and constructing thesrcdocmanually. The latter by sanitizing properly.The
allow-same-originflag is now also set only in cases that require it, following the principle of least privilege.Impact
This is a cross site scripting vulnerability, for more information, please see: https://portswigger.net/web-security/cross-site-scripting
Two npm
@excalidraw/excalidrawstable version releases were affected (0.16.x,0.17.x), and both are now patched.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
excalidraw/excalidraw (@excalidraw/excalidraw)
v0.17.6Compare Source
v0.17.5Compare Source
v0.17.4Compare Source
v0.17.3: (2024-02-09)Fixes
Keep customData when converting to ExcalidrawElement. #7656
Umd build for browser since it was breaking in v0.17.0 #7349. Also make sure that when using
Vite, theprocess.env.IS_PREACTis set as"true"(string) and not a boolean.Disable caching bounds for arrow labels #7343
Bounds cached prematurely resulting in incorrectly rendered labels #7339
Configuration
📅 Schedule: (in timezone Asia/Shanghai)
🚦 Automerge: Disabled because a matching PR was automerged previously.
♻ 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.