Stale v1.0.0

Module Disable Csp

wouyang/module-disable-csp

Disables Content Security Policy (CSP) enforcement during checkout. Bypasses CSP restrictions introduced in the 2024-06-11 security update without fully disabling the CSP module.

23,932
Downloads
Below average
7
GitHub Stars
Below average
2y ago
Last Release
0
Open Issues
Build Passing Top Quality
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

Coding Standard
PHPStan Level 9

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.0.0 on Magento 2.4.8-p3
Dec 26, 2025
GitHub Repository
Source code & docs
Packagist
Version history
Issues & Support
Get help or report bugs

Share This Module's Status

Module Disable Csp Magento compatibility status badge

README

Loaded from GitHub

Magento 2 Module to Disable CSP

This Magento 2 module provides a simple solution to disable the Content Security Policy (CSP) enforcement in the checkout process, which was introduced in the security update on 2024-06-11 and caused issues for many merchants.

Installation

Install the module via Composer:

composer require wouyang/module-disable-csp

How it Works

After installation, this module disables the specific event in module CSP. You can then effectively bypass the CSP enforcement without completely disabling the Module_Csp, which may still be required for other functionalities or security measures in your Magento store.

Usage

No further configuration is required. The module will automatically disable the specified events upon installation.

Do not install it if you need to maintain PCI DSS compliance!

Compatibility

This module is compatible with Magento 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and later versions.

Support

If you encounter any issues or have questions, please open an issue on the GitHub repository.

License

This module is licensed under the MIT License.

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.

Back to All Modules