Fabric.js through 7.4.0 XSS in SVG Export via loadFromJSON Canvas Dimensions
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| fabricjs | fabric.js | unaffected |
|
No data.
No data.
No data available yet.
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Fabric.js through 7.4.0 contains a cross-site scripting vulnerability that allows attackers to inject markup into exported SVG by supplying crafted canvas JSON with string width and height values. Attackers can close the unescaped width, height, or viewBox attributes written by toSVG() and inject onload handlers or script elements that execute when users view the SVG. | |
| Title | Fabric.js through 7.4.0 XSS in SVG Export via loadFromJSON Canvas Dimensions | |
| First Time appeared |
Fabricjs
Fabricjs fabric.js |
|
| Weaknesses | CWE-79 | |
| CPEs | cpe:2.3:a:fabricjs:fabric.js:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Fabricjs
Fabricjs fabric.js |
|
| References |
| |
| Metrics |
cvssV3_1
|
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')