CVE Explorer
CVE-2026-44311
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 H
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f6428d5f9f30fb5cfff7f44de081d59f45b25dc7ad0db3d2a3b874bfdb4e408c · sha256:302ac4f42cbe0e18… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f6428d5f9f30fb5cfff7f44de081d59f45b25dc7ad0db3d2a3b874bfdb4e408c · sha256:302ac4f42cbe0e18… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"fabric.js","vendor":"fabricjs","versions":[{"status":"affected","version":"< 7.4.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f6428d5f9f30fb5cfff7f44de081d59f45b25dc7ad0db3d2a3b874bfdb4e408c · sha256:302ac4f42cbe0e18… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f6428d5f9f30fb5cfff7f44de081d59f45b25dc7ad0db3d2a3b874bfdb4e408c · sha256:302ac4f42cbe0e18… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f6428d5f9f30fb5cfff7f44de081d59f45b25dc7ad0db3d2a3b874bfdb4e408c · sha256:302ac4f42cbe0e18… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f6428d5f9f30fb5cfff7f44de081d59f45b25dc7ad0db3d2a3b874bfdb4e408c · sha256:302ac4f42cbe0e18… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/fabricjs/fabric.js/releases/tag/v740","tags":["x_refsource_MISC"],"url":"https://github.com/fabricjs/fabric.js/releases/tag/v740"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f6428d5f9f30fb5cfff7f44de081d59f45b25dc7ad0db3d2a3b874bfdb4e408c · sha256:302ac4f42cbe0e18… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/fabricjs/fabric.js/security/advisories/GHSA-w22m-hvvm-xmwx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f6428d5f9f30fb5cfff7f44de081d59f45b25dc7ad0db3d2a3b874bfdb4e408c · sha256:302ac4f42cbe0e18… · /containers/adp/0/references/0
{"name":"https://github.com/fabricjs/fabric.js/security/advisories/GHSA-w22m-hvvm-xmwx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/fabricjs/fabric.js/security/advisories/GHSA-w22m-hvvm-xmwx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f6428d5f9f30fb5cfff7f44de081d59f45b25dc7ad0db3d2a3b874bfdb4e408c · sha256:302ac4f42cbe0e18… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.