You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the image cropper in our applications and are running into an issue with our Content Security Policy. We'd like to restrict the usage of data: as it is considered an insecure protocol, but the image cropper does not like this because it contains a hardcoded image inside a data: base64 string here.
data: Allows data: URLs to be used as a content source. This is insecure; an attacker can also inject arbitrary data: URLs. Use this sparingly and definitely not for scripts.
Would it be possible to have this replaced with a safer alternative so the usage of data: can be completely banned from our applications?
Thank you very much for your time. 🙂
The text was updated successfully, but these errors were encountered:
Hello,
We are using the image cropper in our applications and are running into an issue with our Content Security Policy. We'd like to restrict the usage of
data:
as it is considered an insecure protocol, but the image cropper does not like this because it contains a hardcoded image inside adata:
base64 string here.For reference, from here:
Would it be possible to have this replaced with a safer alternative so the usage of
data:
can be completely banned from our applications?Thank you very much for your time. 🙂
The text was updated successfully, but these errors were encountered: