18
Views
3
Comments
[CKEditor.Reactive] Ckeditor Reactive version is not working with CSP settings
ckeditor-reactive
Reactive icon
Forge asset by Fábio Fantato

Ckeditor is not working with CSP settings enabled where I have removed the Unsafe-inline and Unsafe-Eval from CSP. Is there any script which is causing the issue which I can add to CSP settings or is there any work around for this?

2024-08-20 07-51-02
David Nieuwenhuizen
Champion

Hi Sudhanshu,

I had the same issue. Did you update CKEditor to the latest version?

Also, I entered the following to get it to work:

script-src: 

'unsafe-eval' 
self

style-src: 

'unsafe-inline' 
self

Do you have the same? Maybe you added the CSP at the wrong input.


Hope this helps.

KR,

David

2024-04-02 13-23-43
Gonçalo Ferraria
Champion

Hi Sudhanshu,

Typically, when a CSP error occurs, it is displayed in the Service Center. Could you please copy the error message from the Service Center and paste it here?

Additionally, I’m sharing the CSP settings where the error does not occur for reference:

Base-URI:

  • self

Child-src:

  • self

  • gap:

Connect-src:

  • self

Default-src:

  • self

  • gap:

Script-src:

  • self

After changing your CSP settings, clicking Apply Configurations alone is not sufficient. Please go to your environment and publish all environment solutions to ensure the changes take effect.

Thank you.

2023-10-16 05-50-48
Shingo Lam

I think should check the version of CKEfitor, too. Some versions have vulnerable security

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.