EXECUTIVE SUMMARY:
CVE-2026-27013 is a high-severity Vulnerability for the open-source fabric .js library that discloses a Stored Cross-Site Scripting (XSS) vulnerability affecting versions of the fabric npm package earlier than 7.2.0. The flaw arises because certain user-controlled strings in JSON deserialization are not properly escaped when exported to SVG, allowing malicious input to break out of XML attribute contexts. An attacker who can supply crafted JSON can inject arbitrary SVG elements and JavaScript, leading to stored XSS in applications that render exported SVG. This issue carries a CVSS score of 7.6 (High) under CVSS v3, reflecting network attack vector, low complexity, and high confidentiality impact. It affects all fabric.js releases prior to version 7.2.0, which do not properly sanitize SVG attribute values. Exploitation requires that a victim later views or processes the malicious SVG output in a browser environment.[/subscribe_to_unlock_form]
EXECUTIVE SUMMARY:
CVE-2026-27013 is a high-severity Vulnerability for the open-source fabric .js library that discloses a Stored Cross-Site Scripting (XSS) vulnerability affecting versions of the fabric npm package earlier than 7.2.0. The flaw arises because certain user-controlled strings in JSON deserialization are not properly escaped when exported to SVG, allowing malicious input to break out of XML attribute contexts. An attacker who can supply crafted JSON can inject arbitrary SVG elements and JavaScript, leading to stored XSS in applications that render exported SVG. This issue carries a CVSS score of 7.6 (High) under CVSS v3, reflecting network attack vector, low complexity, and high confidentiality impact. It affects all fabric.js releases prior to version 7.2.0, which do not properly sanitize SVG attribute values. Exploitation requires that a victim later views or processes the malicious SVG output in a browser environment.[emaillocker id="1283"]
RECOMMENDATION:
We strongly recommend you update the fabric .js package to version 7.2.0.
REFERENCES:
The following reports contain further technical details:
[/emaillocker]