Umbraco.Community.CSPManager
17.0.1
dotnet add package Umbraco.Community.CSPManager --version 17.0.1
NuGet\Install-Package Umbraco.Community.CSPManager -Version 17.0.1
<PackageReference Include="Umbraco.Community.CSPManager" Version="17.0.1" />
<PackageVersion Include="Umbraco.Community.CSPManager" Version="17.0.1" />
<PackageReference Include="Umbraco.Community.CSPManager" />
paket add Umbraco.Community.CSPManager --version 17.0.1
#r "nuget: Umbraco.Community.CSPManager, 17.0.1"
#:package Umbraco.Community.CSPManager@17.0.1
#addin nuget:?package=Umbraco.Community.CSPManager&version=17.0.1
#tool nuget:?package=Umbraco.Community.CSPManager&version=17.0.1
Umbraco.Community.CSPManager
A Content Security Policy management package for Umbraco CMS. Manage CSP headers for both frontend and backoffice through an intuitive backoffice interface.
Features
- Frontend & Backoffice CSP Management — Configure separate policies for your site frontend and Umbraco backoffice
- Intuitive Backoffice Interface — Easy-to-use management screens within the Umbraco backoffice
- Policy Import — Paste an existing CSP header value to import it directly into the backoffice
- CSP Evaluation Tools — Test and validate your policies before deployment
- Nonce Support — Built-in tag helpers for script, style, and link nonces
- Flexible Configuration — Customise CSP directives to match your requirements
- Notification Events — Extend behaviour with
CspWritingNotificationandCspSavedNotification - uSync Integration — Sync CSP policies across environments using uSync
Installation
dotnet add package Umbraco.Community.CSPManager
The package registers itself automatically via Umbraco's composer system. No additional setup is required.

Full documentation: matthew-wise.github.io/Umbraco-CSP-manager
uSync Integration
| Package | Purpose |
|---|---|
| Umbraco.Community.CSPManager.uSync | Automatically includes CSP definitions in uSync export/import cycles |
| Umbraco.Community.CSPManager.uSync.Complete | Adds Push/Pull actions via uSync Publisher for on-demand environment sync |
Contributing
Contributions are welcome! Please read our Contributing Guidelines and feel free to submit issues and pull requests.
License
This project is licensed under the MIT License — see the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Umbraco.Cms.Api.Common (>= 17.3.0)
- Umbraco.Cms.Api.Management (>= 17.3.0)
- Umbraco.Cms.Web.Common (>= 17.3.0)
- Umbraco.Cms.Web.Website (>= 17.3.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Umbraco.Community.CSPManager:
| Package | Downloads |
|---|---|
|
Umbraco.Community.CSPManager.uSync
uSync support for Umbraco.Community.CSPManager |
|
|
Umbraco.Community.CSPManager.uSync.Complete
uSync Complete (Publisher) support for Umbraco.Community.CSPManager |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 17.0.1 | 1,144 | 5/3/2026 |
| 17.0.0 | 276 | 4/26/2026 |
| 17.0.0-beta.1 | 88 | 4/7/2026 |
| 3.0.0 | 7,696 | 12/17/2025 |
| 2.1.0 | 2,205 | 9/7/2025 |
| 2.0.2-alpha | 302 | 8/19/2025 |
| 1.4.2 | 24,435 | 3/17/2025 |
| 1.4.1 | 15,664 | 9/8/2024 |
| 1.4.0 | 566 | 8/23/2024 |
| 1.3.1-beta | 405 | 5/2/2024 |
| 1.3.0-beta | 312 | 4/5/2024 |
| 1.2.1 | 11,989 | 3/26/2024 |
| 1.2.0 | 7,667 | 10/26/2023 |
| 1.1.0-alpha | 2,777 | 3/7/2023 |
| 1.0.1-alpha | 466 | 1/11/2023 |
| 1.0.0-alpha | 346 | 1/6/2023 |