WebReflection / uhtml

A micro HTML/SVG render

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it safe against XSS?

PeteSolid opened this issue · comments

Hi, sorry if this might be a rather trivial question:

I am using a CSP server and use DOMPurify to protect the tagged templates. Sadly, this is removing all the EventListener on the HTMLElements.
So what would you do in order to have safe code but also make good use of this Library?
Thank you 😊

This library is safe by default, not sure what you mean.
Closing as there's no action to take, but please feel free to expand and write in here.