SB2026051610 - Improper Neutralization of Script in Attributes in a Web Page in draw.io
Published: May 16, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Improper Neutralization of Script in Attributes in a Web Page (CVE-ID: CVE-2026-46642)
The vulnerability allows a remote attacker to execute arbitrary JavaScript in the editor's origin.
The vulnerability exists due to improper neutralization of script in attributes in the Text Format panel feature-detection routine in Format.js when opening a crafted .drawio file. A remote attacker can trick the victim into opening a crafted file to execute arbitrary JavaScript in the editor's origin.
Exploitation occurs when the imported file causes a cell to be selected, which automatically triggers the vulnerable code path. In same-origin embedded deployments, the script may run in the host application's origin.
Remediation
Install update from vendor's website.