Skip to content
OpenAdvisories

Package · npm

fabric

2 known vulnerabilities.

2 results · Feed

  • Medium 5.4

    Fabric.js: Improper escaping in fabric.Gradient colorStops leads to XSS in SVG serialization

    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…

  • High 7.6

    Fabric.js Affected by Stored XSS via SVG Export

    Fabric.js is a Javascript HTML5 canvas library. Prior to version 7.2.0, Fabric.js applies `escapeXml()` to text content during SVG export (`src/shapes/Text/TextSVGExportMixin.ts:186`) but fails to apply it to other user-controlled string values that are inter…