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.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Share This Module's Status
README
Loaded from GitHubMagento 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.