Advanced CSP & Security Headers
Manage your store's Content Security Policy and key HTTP security headers from one Magento Admin screen — no configuration files to edit and no code deployment for routine policy updates.
Purchase Your Product
- Passed all six Adobe Commerce Marketplace quality checks
- Works with Magento Open Source and Adobe Commerce 2.4
Guaranteed Safe Checkout
BENEFITS
Update Your Security Policy Without Waiting on a Deployment
Security and operations teams can add, change, or remove allowed sources themselves, and test a policy before it starts blocking anything.
- Add, edit, and remove CSP allow-list entries from the Admin
- Test in Report-Only mode before you enforce
- Separate controls for storefront, Admin, and checkout

6 Directives
Included by default, with more addable

4 Mode Toggles
Report-Only or Restrictive

3 Security Headers
HSTS, Permissions-Policy, Referrer-Policy

6 of 6
Marketplace quality checks passed
Advanced CSP & Security Headers gives Magento store administrators one place in the Admin to manage Content Security Policy rules and important HTTP security headers. Instead of editing CSP configuration files and deploying code for every change, administrators create, edit, and remove allow-list entries for trusted external domains and specific inline scripts or styles. The policies plug into Magento’s native CSP system, and the relevant caches are invalidated automatically when an entry changes.
Test before you enforce. Run a new policy in Report-Only mode first to spot potential violations, then switch to Restrictive once you’re confident it won’t block resources your store needs.
Full feature list
- Admin-managed CSP allow-list through the Manage Policy grid
- Integration with Magento’s native CSP policy pipeline — no manual whitelist.xml maintenance
- Host entries (allow a domain for a directive) and Hash entries (allow a specific inline script or style)
- Inline grid editing and mass delete for policy entries
- Independent Report-Only / Restrictive toggles for the storefront, the Admin, checkout inline scripts, and checkout inline event handlers
- A configurable directive list with six defaults: script-src, connect-src, media-src, img-src, font-src, and style-src
- Automatic Full Page Cache and Config cache invalidation when a policy entry is saved or deleted
- Permissions-Policy and Referrer-Policy headers, managed from the same screen
- A shortcut to Magento’s native HSTS (HTTP Strict Transport Security) setting
- No new customer-facing pages or components — your storefront and checkout look the same
Works with the services your store relies on
Add the trusted hosts and hashes your payment gateways, analytics tools, CDNs, marketing tools, and customer-support services need, and tailor directives to your store’s requirements.
Getting the extension
- Open the Adobe Commerce Marketplace listing.
- Choose your edition (Adobe Commerce cloud, Adobe Commerce on-prem, or Magento Open Source) and your store version.
- Pick optional support and installation service if you want them, then add the extension to your cart and complete checkout.
Installing and configuring
Installation follows the standard Adobe Commerce Marketplace process. The vendor’s user guide (PDF) covers installation and setup for this version. After installation, CSP policies are managed from the Manage Policy grid and the extension’s configuration settings in the Magento Admin.
If you’d rather not install it yourself, the Marketplace listing offers an optional installation service.
Release notes
1.0.0 — Initial release. Stable build.
- Storefront CSP Report-Only mode configuration.
- Admin CSP Report-Only mode configuration.
- Checkout inline script and event handler CSP controls.
- Security header options: HSTS, Permissions-Policy, and Referrer-Policy.
- CSP policy configuration through Magento system configuration.
- Improved CSP allow-list management through the Admin interface.
Documentation
The user guide (PDF) is available from the Marketplace listing, along with reference manuals and installation guides.
Support
Questions or problems? Email [email protected] or use Contact Vendor on the Marketplace listing. You can also reach us through PluginsKart Support.
Developer
PluginsKart builds and maintains this extension. View the PluginsKart seller profile →
VERIFIED BY ADOBE
Quality Report From the Adobe Commerce Marketplace
Every extension on the Marketplace goes through Adobe’s review before it’s listed. This one passed all six checks, as shown on its Marketplace listing.
PASSED
Installation & Varnish tests
Installs cleanly and works with Varnish
PASSED
Coding standard
Code sniffer review
PASSED
Plagiarism check
Copy-paste detector
PASSED
Malware check
Malware scan
PASSED
Marketing review
Listing content review
PASSED
Manual testing
Manual QA pass
FEATURES
Everything the Plugin Does, Explained
Manage CSP Policies with Grid (CRUD Operations)
- The Advanced CSP & Security Headers extension allows administrators to manage Content Security Policies directly from the Magento Admin Panel.
- The Manage Policy grid makes it easy to
- Create new policies,
- View existing entries,
- Edit policy details using Inline editing,
- Mass delete unwanted policies
- Filter grid records to quickly find specific policies
Manage Trusted Domains and Inline Scripts with Host and Hash Entries
The extension allows administrators to add trusted external domains and specific inline scripts or styles to the CSP allow-list
- Host Entries: Allow administrators to whitelist trusted external domains using directives such as script-src, style-src, and img-src and more options
- Hash Entries : Allow administrators to trust specific inline JavaScript scripts or CSS styles using hash values generated from the browser console using directives such as script-src, style-src

Configure CSP Security Settings
The extension provides centralized CSP configuration for the Magento Storefront, Admin Panel, and Checkout.
- Report-Only Mode: Configure Report-Only Mode (Yes/No) for the Storefront, Admin Panel, Checkout Inline Scripts, and Checkout Event Handlers. Yes monitors CSP violations without blocking resources, while No enforces CSP policies and blocks unauthorized resources.
- Checkout Event Handlers: Control inline JavaScript event handlers such as onclick and onchange during checkout.
- Policy List Configuration: Add new CSP directives and customize existing policy entries
Manage HTTP Security Headers
The extension provides centralized management of important HTTP security headers from the Magento Admin Panel
- Permissions-Policy: Configure browser feature permissions to control access to features such as camera, microphone, and geolocation.
- Referrer-Policy: Control how much referrer information is shared when users navigate between websites.
- HSTS Configuration: Access Magento’s native HTTP Strict Transport Security (HSTS) settings to enforce secure HTTPS connections between browsers and your Magento store
HOW IT WORKS
Three Steps, Then You’re Done
Add allow-list entries
Create Host and Hash entries for the trusted sources your store uses, in the Manage Policy grid.
Start in Report-Only
Leave storefront, Admin, and checkout in Report-Only mode so nothing is blocked while you test.
Review and adjust
Look for potential violations, then add any missing sources or directives.
Switch to Restrictive
Enforce the policy area by area once you’re confident it won’t block what your store needs.
USE CASES
Made for Stores That Rely on Third-Party Resources
Most Magento stores load scripts, styles, and connections from outside services. This extension helps you allow the ones you trust.

Payment gateways

Analytics tools

CDNs

Marketing tools

Customer-support services

Custom checkout implementations
COMPATIBILITY
Works With Your Current Stack
| Requirement | Minimum | Status |
|---|---|---|
| Magento Open Source | 2.4 | Fully supported |
| Adobe Commerce | 2.4 | Fully supported |
| Varnish | – | Marketplace installation & Varnish tests passed |
| Multi-store setups | – | Not yet verified |
Compatibility reflects the Marketplace listing for version 1.0.0. Multi-store setups are marked “not yet verified” rather than “supported,” since the listing doesn’t confirm them.
FAQ’s
Advanced CSP & Security Headers — Questions, Answered
Straight answers about policies, modes, headers, and what the extension does and doesn’t do.
Does this replace editing CSP configuration files by hand?
For routine updates, yes. Administrators add, edit, and remove CSP allow-list entries from the Magento Admin, and the policies feed into Magento’s native CSP policy pipeline, so there’s no need to maintain a whitelist.xml file manually.
Which Magento and Adobe Commerce versions are supported?
Adobe Commerce, and Magento Open Source, all on the 2.4 line.
What’s the difference between Host and Hash entries?
A Host entry allows a trusted domain for a specific CSP directive, such as script-src. A Hash entry allows one specific inline script or style by its hash.
What are Report-Only and Restrictive modes?
Report-Only lets you test a policy and spot potential violations without blocking anything. Restrictive enforces the policy. You can run a policy in Report-Only first and switch to Restrictive once you’re confident it won’t block required resources.
Can I use different modes for the storefront, the Admin, and checkout?
Yes. Report-Only and Restrictive are independent toggles for the storefront, the Admin, checkout inline scripts, and checkout inline event handlers such as onclick and onchange.
Which CSP directives are included?
Six are included by default: script-src, connect-src, media-src, img-src, font-src, and style-src. You can add other directives to the list if your store needs them, and they appear in the Policy dropdown when you add allow-list entries.
Do I need to clear the cache after changing a policy?
Yes. The Full Page Cache and Config cache are invalidated automatically whenever a policy entry is saved or deleted.
Will this change how my storefront or checkout looks?
No. It affects browser resource loading and security behavior, and it adds no new customer-facing pages or components. Your existing storefront and checkout experience can stay the same when policies are configured correctly.
Which other security headers can I manage?
Permissions-Policy and Referrer-Policy are configurable from the same screen, and there’s a shortcut to Magento’s native HSTS (HTTP Strict Transport Security) setting.
Will it work with payment gateways, analytics, CDNs, and similar services?
You can add the trusted hosts and hashes those services need, so their scripts, styles, and connections are allowed through your policy.
Does this guarantee my store is secure or compliant?
No single tool does. CSP and security headers are one layer of browser-side hardening. Use Report-Only to test before enforcing, and treat this as part of your wider security practice.
How do I get support?
Email the vendor at [email protected], or use the Contact Vendor link on the Adobe Commerce Marketplace listing.











