Intel

AIKIDO-2026-10531

roosterjs-content-model-core is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 24, 2026

61

Medium Risk

This Affects:

JSroosterjs-content-model-core
8.59.1 - 9.49.0
Fixed in 9.50.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package do not properly validate or intercept drag-and-drop content before it is inserted into the editor, allowing potentially malicious content to be dropped and processed without a prevention hook. An attacker could exploit this by tricking a user into dragging crafted HTML or active content into the editor, which may result in unsafe content being rendered, persisted, or later executed depending on downstream sanitization and usage. The patch introduces a beforeDrop event so applications can inspect and block dangerous payloads before the drop is accepted. This reduces the risk of content injection and editor-based XSS-style attack chains.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

roosterjs-content-model-core is vulnerable to Cross-Site Scripting (XSS) in versions 8.59.1 - 9.49.0.

How to fix this

Upgrade the roosterjs-content-model-core library to the patch version.