MEDIUM · CVSS 6.1 Published: 2026-12-04
CVE-2026-144577 — Technical Security Advisory & CVSS Profile
Fabric.js through 7.4.0 contains a cross-site scripting vulnerability that allows attackers to inject markup into exported SVG by supplying crafted canvas JSON with string width and height values. Attackers can close the unescaped width, height, or viewBox attributes written by toSVG() and inject onload handlers or script elements that execute when users view the SVG.
Technical Metadata
| Identifier | CVE-2026-144577 |
|---|---|
| Base Severity / Score | MEDIUM (6.1 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Weakness Classification | CWE-79 |
| Archive Categories | MEDIUM Advisories · 2026 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/fabricjs/fabric.js/blob/v740/src/canvas/StaticCanvas.ts#L1251-L1276
- https://github.com/fabricjs/fabric.js/blob/v740/src/canvas/StaticCanvas.ts#L995-L1025
- https://www.vulncheck.com/advisories/fabric-js-through-7.4.0-xss-in-svg-export-via-loadfromjson-canvas-dimensions
Related Security Advisories
CVE-2026-144576 HIGH 7.8
CVE-2026-144578 MEDIUM 4.7
CVE-2026-144575 MEDIUM 5.8
CVE-2026-144580 MEDIUM 5.3
CVE-2026-144581 MEDIUM 4.7
CVE-2026-144582 MEDIUM 6.1
CVE-2026-144583 MEDIUM 5.4