{"id":"CVE-2026-44311","sourceIdentifier":"security-advisories@github.com","published":"2026-06-22T22:16:46.200","lastModified":"2026-10-25T23:10:00.167","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Fabric.js es una biblioteca de canvas HTML5 de Javascript. Antes de la versión 7.4.0, existe una potencial vulnerabilidad de cross-site scripting (XSS) en Fabric.js debido a un escape inadecuado de la entrada controlada por el usuario durante la serialización SVG a través del método toSVG(). Específicamente, el campo ’color’ dentro del array ’colorStops’ de un objeto fabric.Gradient no se escapa correctamente cuando se convierte en elementos SVG [stop]. Si una aplicación renderiza la cadena SVG generada en el DOM, esto puede permitir a un atacante inyectar HTML/SVG arbitrario y ejecutar JavaScript en el navegador de la víctima. Esta vulnerabilidad está corregida en la versión 7.4.0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"fabricjs","product":"fabric.js","versions":[{"version":"< 7.4.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.5},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-23T16:13:31.986414Z","id":"CVE-2026-44311","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"},{"lang":"en","value":"CWE-116"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:fabricjs:fabric.js:*:*:*:*:*:node.js:*:*","versionEndExcluding":"7.4.0","matchCriteriaId":"2CECE580-6FAD-4A26-9163-2CED7A5EEAFF"}]}]}],"references":[{"url":"https://github.com/fabricjs/fabric.js/releases/tag/v740","source":"security-advisories@github.com","tags":["Product","Release Notes"]},{"url":"https://github.com/fabricjs/fabric.js/security/advisories/GHSA-w22m-hvvm-xmwx","source":"security-advisories@github.com","tags":["Exploit","Mitigation","Vendor Advisory"]},{"url":"https://github.com/fabricjs/fabric.js/security/advisories/GHSA-w22m-hvvm-xmwx","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Mitigation","Vendor Advisory"]}]}