Skip to content

fix(deps): update dependency @excalidraw/excalidraw to v0.17.6 [security]#625

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-excalidraw-excalidraw-vulnerability
Open

fix(deps): update dependency @excalidraw/excalidraw to v0.17.6 [security]#625
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-excalidraw-excalidraw-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 26, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@excalidraw/excalidraw (source) 0.17.00.17.6 age adoption passing confidence

Stored 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 42 to the console:

https://gist.github.com/vv=v<script>console.log(42)</script>
Details

There were two vectors. One rendering untrusted string as iframe's srcdoc without properly sanitizing against HTML injection. Second by improperly sanitizing against attribute HTML injection. This in conjunction with allowing allow-same-origin sandbox flag (necessary for several embeds) resulted in the XSS.

Former was fixed by no longer rendering unsafe srcdoc content verbatim, and instead strictly parsing the supplied content and constructing the srcdoc manually. The latter by sanitizing properly.

The allow-same-origin flag 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/excalidraw stable version releases were affected (0.16.x, 0.17.x), and both are now patched.

Severity

  • CVSS Score: 6.1 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

excalidraw/excalidraw (@​excalidraw/excalidraw)

v0.17.6

Compare Source

v0.17.5

Compare Source

v0.17.4

Compare 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, the process.env.IS_PREACT is set as "true" (string) and not a boolean.

define: {
  "process.env.IS_PREACT": JSON.stringify("true"),
}
  • Disable caching bounds for arrow labels #​7343

  • Bounds cached prematurely resulting in incorrectly rendered labels #​7339


Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Feb 26, 2026
@safedep
Copy link
Copy Markdown

safedep Bot commented Feb 26, 2026

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

Package Details
Package Malware Vulnerability Risky License Report
icon @emnapi/core @ 1.10.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @emnapi/runtime @ 1.10.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @emnapi/wasi-threads @ 1.2.1
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @excalidraw/excalidraw @ 0.17.6
apps/web/package.json pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @haklex/rich-editor @ 0.0.105
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @haklex/rich-kit-shiro @ 0.0.105
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/clipboard @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/code-core @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/dragon @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/extension @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/headless @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/html @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/link @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/list @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/markdown @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/rich-text @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/selection @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/table @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/text @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @lexical/utils @ 0.42.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @napi-rs/wasm-runtime @ 1.1.4
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @oxc-project/types @ 0.133.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-android-arm64 @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-darwin-arm64 @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-darwin-x64 @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-freebsd-x64 @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-linux-arm-gnueabihf @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-linux-arm64-gnu @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-linux-arm64-musl @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-linux-ppc64-gnu @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-linux-s390x-gnu @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-linux-x64-gnu @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-linux-x64-musl @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-openharmony-arm64 @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-wasm32-wasi @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-win32-arm64-msvc @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/binding-win32-x64-msvc @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon @rolldown/pluginutils @ 1.0.1
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon lucide-react @ 1.17.0
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗
icon rolldown @ 1.0.3
pnpm-lock.yaml
ok icon
ok icon
ok icon
🔗

View complete scan results →

This report is generated by SafeDep Github App

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
shiro Error Error May 28, 2026 6:15pm

@renovate renovate Bot force-pushed the renovate/npm-excalidraw-excalidraw-vulnerability branch from 33312fb to 93df212 Compare March 5, 2026 15:09
@renovate renovate Bot force-pushed the renovate/npm-excalidraw-excalidraw-vulnerability branch from 93df212 to 2d5e577 Compare March 9, 2026 15:49
@renovate renovate Bot force-pushed the renovate/npm-excalidraw-excalidraw-vulnerability branch from 2d5e577 to 3c6a8f4 Compare March 13, 2026 15:50
@renovate renovate Bot force-pushed the renovate/npm-excalidraw-excalidraw-vulnerability branch from 3c6a8f4 to b3f4a9a Compare March 14, 2026 16:42
@renovate renovate Bot changed the title fix(deps): update dependency @excalidraw/excalidraw to v0.17.6 [security] fix(deps): update dependency @excalidraw/excalidraw to v0.17.6 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot deleted the renovate/npm-excalidraw-excalidraw-vulnerability branch March 27, 2026 01:38
@renovate renovate Bot changed the title fix(deps): update dependency @excalidraw/excalidraw to v0.17.6 [security] - autoclosed fix(deps): update dependency @excalidraw/excalidraw to v0.17.6 [security] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-excalidraw-excalidraw-vulnerability branch 2 times, most recently from b3f4a9a to ff1bb54 Compare March 30, 2026 18:29
@renovate renovate Bot force-pushed the renovate/npm-excalidraw-excalidraw-vulnerability branch from ff1bb54 to 9b09fda Compare April 1, 2026 18:01
@renovate renovate Bot force-pushed the renovate/npm-excalidraw-excalidraw-vulnerability branch from 9b09fda to b396f01 Compare April 8, 2026 19:03
@renovate renovate Bot force-pushed the renovate/npm-excalidraw-excalidraw-vulnerability branch from b396f01 to 14cea41 Compare May 1, 2026 04:59
@renovate renovate Bot force-pushed the renovate/npm-excalidraw-excalidraw-vulnerability branch from 14cea41 to f4f7265 Compare May 12, 2026 17:05
@renovate renovate Bot force-pushed the renovate/npm-excalidraw-excalidraw-vulnerability branch from f4f7265 to 7c23a69 Compare May 18, 2026 10:54
@renovate renovate Bot force-pushed the renovate/npm-excalidraw-excalidraw-vulnerability branch from 7c23a69 to ae3c0c6 Compare May 28, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants