6.1 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Changed (C)
- Confidentiality (C): Low (L)
- Integrity (I): Low (L)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Changed (C)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
6 packages
- pandoc-drawio-filter
- python313Packages.mkdocs-drawio-file
- python314Packages.mkdocs-drawio-file
- vscode-extensions.hediet.vscode-drawio
- python313Packages.mkdocs-drawio-exporter
- python314Packages.mkdocs-drawio-exporter
- @LeSuisse accepted
- @LeSuisse published on GitHub
draw.io: XSS via crafted cell label when opening a .drawio file
draw.io is a configurable diagramming and whiteboarding application. Prior to version 29.7.12, a crafted .drawio file can execute arbitrary JavaScript in the editor's origin when the file is opened. The vulnerability is not in the label sanitizer (which works correctly on the rendering path) but in a feature-detection routine in the Text Format panel that reads the raw cell label and assigns it to a detached element's innerHTML without sanitization. Browsers fire onerror for failed image loads even on detached elements, so an <img src=x onerror=...> payload in any cell label triggers script execution as soon as the cell is selected — which import does automatically. This issue has been patched in version 29.7.12.
References
-
https://github.com/jgraph/drawio/security/advisories/GHSA-fqhg-287p-c6vf x_refsource_CONFIRM
-
https://github.com/jgraph/drawio/releases/tag/v29.7.12 x_refsource_MISC
Affected products
- ==< 29.7.12
Matching in nixpkgs
pkgs.drawio
Desktop version of draw.io for creating diagrams
Ignored packages (6)
pkgs.pandoc-drawio-filter
Pandoc filter which converts draw.io diagrams to PDF
pkgs.python313Packages.mkdocs-drawio-file
Embedding files of Diagrams.net (Draw.io) into MkDocs
pkgs.python314Packages.mkdocs-drawio-file
Embedding files of Diagrams.net (Draw.io) into MkDocs
pkgs.vscode-extensions.hediet.vscode-drawio
This unofficial extension integrates Draw.io into VS Code
pkgs.python313Packages.mkdocs-drawio-exporter
Module for exporting Draw.io diagrams
Package maintainers
-
@DarkOnion0 Alexandre Peruggia <darkgenius1@protonmail.com>
-
@tfc Jacek Galowicz <jacek@galowicz.de>