{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-44311","published":"2026-06-22T22:16:46.200000Z","last_modified":"2026-10-25T23:10:00.167000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79","CWE-116"],"cpes":[{"criteria":"cpe:2.3:a:fabricjs:fabric.js:*:*:*:*:*:node.js:*:*","part":"a","vendor":"fabricjs","product":"fabric.js","version_end_excluding":"7.4.0"}],"cpes_truncated":false,"vendors":["fabricjs"],"products":["fabricjs/fabric.js"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-w22m-hvvm-xmwx","ecosystem":"npm","name":"fabric","purl":"pkg:npm/fabric","ranges":[{"introduced":"0","fixed":"7.4.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2026-44311/","html_en":"/en/cve/CVE-2026-44311/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-44311","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-44311"},"untrusted":{"vendor_name":"Fabricjs","product_name":"Fabric.js","desc_en":"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, this may allow an attacker to inject arbitrary HTML/SVG and execute JavaScript in the victim's browser. This vulnerability is fixed in 7.4.0.","affected":[{"untrusted_vendor":"fabricjs","untrusted_product":"fabric.js","versions":[]}],"references":[{"url":"https://github.com/fabricjs/fabric.js/releases/tag/v740","tags":["Product","Release Notes"]},{"url":"https://github.com/fabricjs/fabric.js/security/advisories/GHSA-w22m-hvvm-xmwx","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}