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

CSP violation if 'unsafe-eval' not allowed #2214

Open
dndrsn opened this issue Apr 30, 2024 · 3 comments
Open

CSP violation if 'unsafe-eval' not allowed #2214

dndrsn opened this issue Apr 30, 2024 · 3 comments

Comments

@dndrsn
Copy link

dndrsn commented Apr 30, 2024

Expected Behavior

JavaScript eval not to be required.

Actual Behavior

CSP violation error if CSP is not set to allow unsafe-eval. This issue was introduced in version 10.9.0. Version 10.8.10 works as expected without any issue.

Possible Solution

Remove/refactor change introduced in version 10.9.0 which uses eval.

Steps to Reproduce

Create webpage with any CSP that does not allow unsafe-eval. Load page in browser.

This same issue occurred previously -- #1881

@dndrsn dndrsn changed the title CSP violation of 'unsafe-eval' not allowed CSP violation if 'unsafe-eval' not allowed Apr 30, 2024
@bmerigan
Copy link

bmerigan commented May 2, 2024

Yep, we are rolling back the version we use due to this.

@josephm0017
Copy link

We're also facing the same issue and it's severely impacting us.

  • Are there any updates?
  • Will it be resolved soon?

Can you please advise.

@bmerigan
Copy link

Tagging @veu to ensure developers are aware of this, not to be pushy but because there's no indication that this is known.
We're locked at 10.8.10 until this is resolved.

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

No branches or pull requests

3 participants