Skip to content

CSP issue #107

@ganeddact

Description

@ganeddact

Hi,

I'm currently reviewing and testing your module for a potential customer implementation. During our evaluation, we noticed that the module includes several inline JavaScript blocks that do not comply with our Content Security Policy (CSP) configuration, as they lack the required nonces or SHA hashes.

Our environment enforces a strict CSP, and starting with Magento 2.4.7, this policy is applied by default on the checkout page. It's anticipated that CSP enforcement will expand to other areas of the storefront in future releases.

Addressing these CSP compliance issues—by avoiding inline scripts or including proper nonces/hashes—would improve compatibility moving forward and ensure smoother adoption in secure environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions