Intel

AIKIDO-2026-10531

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

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 24, 2026
April 24, 2026

61

CVE Score

Medium

Cross-Site Scripting (XSS)

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.

How do I fix this?

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

Who does this affect?

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

Versions

8.59.1 - 9.49.0

Fixed in 9.50.0

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea