Lucene search

K
vulnrichmentGitHub_MVULNRICHMENT:CVE-2024-32472
HistoryApr 17, 2024 - 9:23 p.m.

CVE-2024-32472 excalidraw vulnerable to a Stored XSS in excalidraw's web embed component

2024-04-1721:23:57
CWE-79
CWE-80
GitHub_M
github.com
5
excalidraw
xss
vulnerability
web
embed
whiteboard
javascript
sanitization
html injection
sandbox
fix

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

AI Score

6.2

Confidence

High

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial

excalidraw is an open source virtual hand-drawn style whiteboard. 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. 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. This vulnerability is fixed in 0.17.6 and 0.16.4.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:excalidraw:excalidraw:*:*:*:*:*:*:*:*"
    ],
    "vendor": "excalidraw",
    "product": "excalidraw",
    "versions": [
      {
        "status": "affected",
        "version": "0.16.0",
        "lessThan": "0.16.4",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "0.17.0",
        "lessThan": "0.17.6",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

AI Score

6.2

Confidence

High

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial

Related for VULNRICHMENT:CVE-2024-32472