CVE-2026-44311
Last modified
CVE-2026-44311 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Fabricjs | Fabric.Js | < 7.4.0 |
References
- https://github.com/fabricjs/fabric.js/releases/tag/v740Product, Release Notes
- https://github.com/fabricjs/fabric.js/security/advisories/GHSA-w22m-hvvm-xmwxExploit, Mitigation, Vendor Advisory
- https://github.com/fabricjs/fabric.js/security/advisories/GHSA-w22m-hvvm-xmwxExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-44311?
How severe is CVE-2026-44311?
How do I fix CVE-2026-44311?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-44306Statamic is a Laravel and Git powered content management sys…5.3
- CVE-2026-44307Mako is a template library written in Python. Prior to 1.3.1…8.7
- CVE-2026-44308Spring Cloud AWS simplifies using AWS managed services in a …6.3
- CVE-2026-44309Gitsign is a keyless Sigstore to signing tool for Git commit…5.3
- CVE-2026-4431The Easy Post Submission plugin for WordPress is vulnerable …9.1
- CVE-2026-44310Gitsign is a keyless Sigstore to signing tool for Git commit…5.4
- CVE-2026-44312css_parser is a Ruby CSS parser. Prior to 2.1.0 and 1.22.0, …5.8
- CVE-2026-44313Linkwarden is a self-hosted, open-source collaborative bookm…9.1
- CVE-2026-44314Traccar is an open source GPS tracking system. Prior to 6.13…4.3
- CVE-2026-44315free5GC is an open-source implementation of the 5G core netw…9.4
- CVE-2026-44316free5GC is an open-source implementation of the 5G core netw…7.5
- CVE-2026-44317free5GC is an open-source implementation of the 5G core netw…6.5
Are you affected by CVE-2026-44311?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
