Skip to content

[ECP-9690] Dropping Support for PCI Non-Compliant Magento versions#2957

Merged
khushboo-singhvi merged 38 commits intomainfrom
ECP-9690
May 13, 2025
Merged

[ECP-9690] Dropping Support for PCI Non-Compliant Magento versions#2957
khushboo-singhvi merged 38 commits intomainfrom
ECP-9690

Conversation

@khushboo-singhvi
Copy link
Contributor

Description

Our plugin has introduced a dependency on NonceProviderClass to solve CSP issues on the storefront

In order solve this issue, Magento platform needs to calculate a nonce value and later verify it in the storefront frontend to ensure the ownership of the executed string

However, this nonce generated has been implemented as a part of CSP related security patch by Adobe. The versions prior to the following versions do not have this required class.

  • Magento 2.4.4-p9
  • Magento 2.4.5-p8
  • Magento 2.4.6-p6

With this PR, we are following best practices and all CSP updates, therefore platform Versions below the CSP supported version will be blocked and the plugin will not be compatible.

Tested scenarios

Fixes

@sonarqubecloud
Copy link

@khushboo-singhvi khushboo-singhvi added the Fix Indicates a bug fix label May 13, 2025
@khushboo-singhvi khushboo-singhvi merged commit a21e62a into main May 13, 2025
14 of 15 checks passed
@khushboo-singhvi khushboo-singhvi deleted the ECP-9690 branch May 13, 2025 13:40
@khushboo-singhvi khushboo-singhvi changed the title [ECP-9690] Broken compatibility with the Magento versions not having CSP related patches [ECP-9690] Dropping Support for PCI Non-Compliant Magento versions May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Indicates a bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants