CSP compatibility – requirement for unsafe-inline in style-src
We are integrating your components in an application with a strict Content Security Policy (CSP). As part of our security baseline, we want to dissalow unsafe-inline in style-src.
- Do your components require
unsafe-inlineforstyle-srcto function correctly? -
If yes, which specific features/components depend on it?
-
Is there a supported way to use your library without
unsafe-inline(e.g. via nonces, hashes, or externalized styles)? -
Are there any official guidelines or configurations for running your components under a strict CSP?
Hi Jack,
Thank you for reaching out to us. Our Blazor Pivot Table component supports most features under a strict Content Security Policy (CSP) without requiring 'unsafe-inline'. However, expect Pivot Chart, Conditional Formatting currently depend on inline styles and will not function if 'unsafe-inline' is disallowed in the style-src directive of a strict CSP.
For your reference, we’ve shared the CSP guidelines specific to the Pivot Table below:
CSP
Guidelines :
https://blazor.syncfusion.com/documentation/pivot-table/content-security-policy
If you need any further assistance or clarification, please feel free to reach
out—we’re always here to help!
Regards,
Angelin Faith Sheeba.
Thanks for the answer Angelin, I had to choose a component to ask the question, however the question is about the whole Syncfusion component library, not just the Pivot Table. What components do/do not require 'unsafe-inline'?
Hi Jack,
Thank you for reaching out with the update. We understand that you are seeking clarity on which Syncfusion Blazor components require or do not require the use of unsafe-inline when working under a strict Content Security Policy (CSP).
To assist with this, we recommend reviewing our dedicated User Guide documentation. It provides detailed guidance on Syncfusion Blazor components and clearly explains their compatibility with strict CSP configurations, including scenarios where unsafe-inline may or may not be necessary.
If you have any additional questions, need further clarification, or require assistance beyond what is covered in the documentation, please feel free to reach out. We are always happy to help and ensure all your concerns are fully addressed.
Regards,
Karthickraja
- 3 Replies
- 3 Participants
-
JW Jack Webb
- Apr 13, 2026 09:07 AM UTC
- Apr 24, 2026 07:00 AM UTC