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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 04 Dec 2026 01:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Fabric.js through 7.4.0 XSS in SVG Export via loadFromJSON Canvas Dimensions | |
| First Time appeared |
Fabricjs
Fabricjs fabric.js |
|
| Weaknesses | CWE-79 | |
| CPEs | cpe:2.3:a:fabricjs:fabric.js:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Fabricjs
Fabricjs fabric.js |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-12-04T01:09:05.958Z
Reserved: 2026-12-04T00:31:29.277Z
Link: CVE-2026-144577
No data.
Status : Received
Published: 2026-12-04T02:17:00.320
Modified: 2026-12-04T02:17:00.320
Link: CVE-2026-144577
No data.
OpenCVE Enrichment
No data.
Weaknesses