Are svgs sanatize by fabric js are do i need to santized my self #10757
Replies: 2 comments 2 replies
-
|
following. I'd like to know too |
Beta Was this translation helpful? Give feedback.
-
|
this is a good question. FabricJS does not have any sanitization for values and properties, it doesn't parse any script tags from the resulting xmlDom, so no svg code should be executed, but if you have particularly nasty svg attacks examples please share. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
i am letting the user upload svg and it can be rendered on canvas does fabric js sanitize svg or should I do it i am not very well versed on how canvas render the SVG so i don't know if the possible security issue there
Beta Was this translation helpful? Give feedback.
All reactions