CVE-2026-44311: Fabric.js is a Javascript HTML5 canvas library
CVE-2026-44311 is a medium-severity flaw (CVSS 5.4) affecting fabric.js. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Fabric.js is a Javascript HTML5 canvas library. Prior to 7.4.0, a potential Cross-Site Scripting (XSS) vulnerability exists in Fabric.js due to improper escaping of user-controlled input during SVG serialization via the toSVG() method. Specifically, the color field within the colorStops array of a fabric.Gradient object is not properly escaped when converted into SVG <stop> elements. If an application renders the generated SVG string into the DOM
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-44311?
fabric.js: upgrade to 7.4.0. Exact commands for each OS are on this page.
Is CVE-2026-44311 being exploited?
CVE-2026-44311 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-44311 affect?
CVE-2026-44311 affects fabric.js. Severity is medium (CVSS 5.4). Fabric.js is a Javascript HTML5 canvas library. Prior to 7.4.0, a potential Cross-Site Scripting (XSS) vulnerability exists in Fabric.js due to improper escaping of user-controlled input during SVG serialization via the toSVG() method. Spec
How urgent is CVE-2026-44311?
Priority 29/100. Public exploit reference