roosterjs-content-model-core is vulnerable to Cross-Site Scripting (XSS)
61
CVE Score
Medium
Cross-Site Scripting (XSS)
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.
Upgrade the roosterjs-content-model-core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
8.59.1 - 9.49.0
Fixed in 9.50.0roosterjs-content-model-core is vulnerable to Cross-Site Scripting (XSS) in versions 8.59.1 - 9.49.0.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.