Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library is not CSP compliant #106

Open
KenEucker opened this issue Dec 27, 2020 · 0 comments
Open

Library is not CSP compliant #106

KenEucker opened this issue Dec 27, 2020 · 0 comments

Comments

@KenEucker
Copy link

Because of lines like this:
https://github.com/ramon82/zuck.js/blob/master/src/zuck.js#L431

this library breaks CSP protections and thus cannot be used unless specifying "unsafe-inline", which completely negates the use of the protection in the first place.

To address this, these items should be constructed as DOM elements and then attached to the relevant container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants