CVE-2023-26140
JavaScript vulnerability analysis and mitigation

Overview

CVE-2023-26140 is a Cross-site Scripting (XSS) vulnerability affecting the @excalidraw/excalidraw package versions prior to 0.15.3. The vulnerability was discovered in August 2023 and is related to improper input sanitization of embedded links in whiteboard objects (Snyk Security).

Technical details

The vulnerability is classified as CWE-79 (Cross-site Scripting) with a CVSS v3.1 score of 6.1 (medium severity). The attack vector is network-based, with low attack complexity and requiring user interaction. The vulnerability allows for exploitation through embedded links in whiteboard objects due to insufficient URL sanitization (Snyk Security).

Impact

When successfully exploited, this XSS vulnerability can lead to some loss of confidentiality and integrity. Attackers may gain access to restricted information, though with limited control over what information is obtained. Data modification is possible, but the attacker's control over the consequences is limited (Snyk Security).

Mitigation and workarounds

The recommended mitigation is to upgrade @excalidraw/excalidraw to version 0.16.0 or higher. The fix includes implementation of stronger link normalization using the Braintree sanitize-url library to properly sanitize URLs (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react
NoYesDec 03, 2025
CVE-2025-66401CRITICAL9.8
  • JavaScriptJavaScript
  • mcp-watch
NoNoDec 01, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66405MEDIUM6.9
  • JavaScriptJavaScript
  • @portkey-ai/gateway
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management