Magento Open Source payment page scripts for PCI DSS 6.4.3 and 11.6.1

Magento Open Source's Content Security Policy and Subresource Integrity cover part of PCI DSS 6.4.3 and 11.6.1. The script inventory, justification records and weekly change detection are work you must add and evidence you must keep.

On this page

Which parts of Magento payment page script compliance the platform covers

A self-hosted Magento Open Source store that loads payment and third-party scripts has to meet PCI DSS 6.4.3 and 11.6.1, which became mandatory on 31 March 2025. The platform helps with two of the technical pieces: from 2.4.7, Content Security Policy runs in restrict mode by default on storefront and admin payment pages, and Subresource Integrity can be used to check that a script file has not changed. It does not produce the script inventory, the written justification for each script, the record of who authorized each script, or the weekly tamper detection that 11.6.1 requires, so those remain your job to build and run.

The CSP policy is only as good as the list of sources in it. Before enabling restrict mode, export every script the payment pages load, including those injected by extensions, tag managers, analytics tools and the payment provider's own loader, and confirm which ones your payment integration actually needs. Each entry should have an owner, a business purpose and an approval reference. Scripts added later through a theme change or an extension update will be blocked or will bypass the policy unless someone reviews the CSP configuration as part of that change, so make the review a step in your release process rather than a one-off task.

Whether 6.4.3 and 11.6.1 apply in full depends on the payment integration. Under PCI SSC FAQ 1581, scripts from a 3-D Secure solution do not need 6.4.3 validation, but any script running for another purpose still does. Your choice of hosted payment fields, redirect or embedded checkout therefore decides which scripts you must justify and whether the store qualifies for a shorter SAQ. Confirm this with your acquirer and payment provider before the assessment. DeployOpen prepares the platform settings, inventories and evidence for your assessor, but does not issue an attestation or certification; your QSA or the SAQ process decides the outcome.

Mapping PCI DSS 6.4.3 and 11.6.1 to Magento controls and configuration

This table compares what each payment page script requirement asks for with what Magento Open Source provides, what configuration you must set, and what you must run yourself. Read each row as a question an assessor will ask, then check whether the platform answers it or whether a manual record is needed. The main takeaway is that Magento's Content Security Policy and Subresource Integrity cover part of the evidence, while the script inventory, justifications and weekly change detection remain your responsibility.

RequirementPlatform capabilityConfiguration neededWhat remains manual
6.4.3: Authorization of payment page scriptsCSP headers supported from 2.3.5. From 2.4.7, restrict mode is the default on storefront and admin payment pages.Confirm the CSP mode is restrict on payment pages. Define an allowlist of script sources for checkout and payment pages.Approving each allowed source, recording who approved it, and removing sources no longer needed.
6.4.3: Integrity assurance of payment page scriptsSubresource Integrity can be applied where configured, so the browser checks script hashes before running them.Enable integrity hashes for scripts you load from external hosts. Verify the hashes match the files you approved.Hashing and tracking third-party scripts that change without notice, and handling scripts that cannot carry a hash.
6.4.3: Inventory with written justificationNot covered by the platform. Magento does not produce a script inventory with justifications.Export the CSP allowlist and the list of script tags from theme and extension templates as the starting inventory.Writing a justification for each script, naming its owner, and reviewing the inventory on each release or change.
11.6.1: Change and tamper detection on headers and page contentsCSP violation reports and restrict-mode enforcement help surface unexpected scripts. Detection covers what the browser receives only if you configure reporting.Configure CSP reporting to a monitored endpoint. Record the security headers served on payment pages as a baseline.Comparing the page as received by the consumer browser against the baseline, and alerting personnel on unauthorized changes.
11.6.1: Frequency of the detection mechanismNot provided by the platform. The frequency is set by your own process.Schedule the comparison at least every seven days, or at a more frequent interval set by a targeted risk analysis under 12.3.1.Running the scheduled check, documenting the risk analysis, and keeping logs that show each run.
3DS scripts (PCI SSC FAQ 1581)Not applicable to the platform. The exception depends on how your 3DS provider loads its scripts.Identify which scripts belong to the 3DS solution and which serve other purposes.Confirming with the PCI SSC FAQ and your assessor that 3DS-only scripts are excluded. Scripts run for any other purpose stay in scope for 6.4.3.
Evidence for the assessorHeaders, CSP configuration and Subresource Integrity settings can be exported from your environment.Store configuration snapshots and CSP reports with dates and owners.Assembling the records into the set your Qualified Security Assessor or SAQ process requires. Confirm the format with your assessor.

What evidence auditors will ask for and how to keep it

A QSA or SAQ reviewer will test whether the script controls work in practice, not only whether they exist. The cards below list the records that prove each script was authorized, verified and watched, and the decisions that must be written down so they can be produced on request.

CSP policy exports and history

Export the Content Security Policy configuration that Magento Open Source applies to storefront and admin payment pages, and keep each export with its date and the change ticket that produced it. Adobe's documentation says CSP runs in restrict mode by default from 2.4.7, so confirm whether your store runs that default or a modified policy. Assessors will compare the exported policy against the script inventory and ask who approved each allowed source.

CSP documentation

Script inventory with justification and owner

Maintain one register of every script that loads on a payment page, including first-party files, tag manager containers, analytics and any 3DS script. Each row needs a written justification, a named business owner and the date it was last reviewed. Requirement 6.4.3 expects this inventory to exist, so an undocumented script found during testing is a finding even if it is harmless.

Authorization records

For each script, keep the record showing how it was confirmed as authorized, such as a signed-off change request, a vendor agreement or a deployment approval. Record who approved it and what the approval covered. The PCI SSC FAQ on 3DS scripts notes that a script run for another purpose stays in scope, so an authorization for one purpose does not cover a second one.

Integrity hash records

Keep the Subresource Integrity hash generated for each externally hosted script, along with the file version it was computed from and the date it was checked. When a vendor updates a file, the hash changes and the old record becomes evidence of a past state, so retain both. Ask the assessor how they expect integrity to be verified for scripts you do not host.

Weekly change-detection logs and alerts

Requirement 11.6.1 requires a change and tamper-detection mechanism to run at least every seven days, unless a targeted risk analysis sets another frequency. Keep the run logs with timestamps, the scope each run covered, and the alerts it produced. Gaps in the log are the most common reason an assessor asks follow-up questions, so check that scheduled runs did not silently fail.

Maximum run interval
7 days
Payment page guidance

Alert handling tickets and risk analysis

Every alert needs a ticket that shows who triaged it, what was found, whether the change was authorized and how it was closed. Keep the targeted risk analysis that justifies any frequency other than seven days, with its date, author and approval. An assessor will also test whether the analysis is still valid after a platform upgrade or a new payment integration.

How CSP, integrity checks and change detection fit together

The diagram starts with a shopper or admin request to the Magento storefront or admin payment page. The response carries a Content Security Policy header and Subresource Integrity attributes on the scripts Magento loads, which block or flag unexpected sources and modified files in the browser. An external change-detection job fetches the same page as a consumer browser sees it and compares the scripts and headers with the approved inventory and justification register, then alerts personnel on any difference. Check that every approved script in the register has a matching entry in the policy and the integrity hashes.

Approved scripts from the register feed the policy, while external checks compare what browsers receive.

Configuring the script controls in sequence

This sequence turns CSP, Subresource Integrity and the PCI DSS script rules into a working control set, with each step producing a record an assessor can check.

  1. Confirm the release line and CSP mode

    Record the Magento Open Source release and patch level in production, and confirm it is on a 2.4.x line that is still under Adobe's standard support. Adobe's developer documentation states that CSP runs in restrict mode by default on storefront and admin payment pages from 2.4.7, so a store on 2.4.7 or later starts from restrict mode, while an older release needs its CSP configuration reviewed by hand. Done when the version, the CSP mode in each storefront and admin scope, and any custom policy overrides are written into the control record with the name of the person who checked them.

  2. Build the script inventory from payment pages

    Load every storefront payment page, the checkout steps, the admin order and payment screens, and any page that hosts a payment iframe or redirect, in a clean browser session. Capture every script source, including those loaded by themes, extensions, tag managers, analytics and chat widgets, and note which ones run on the payment page itself. Done when the inventory lists each script's URL or inline origin, the page where it loads, the module or theme that adds it, and whether it is served from your domain or a third party.

  3. Write a justification and owner for each script

    For every entry in the inventory, write the business purpose, the authorizing party, the technical owner and the review date. Scripts used only for a 3DS flow are treated differently under PCI SSC FAQ 1581, so mark those separately, but any script that runs for another purpose remains subject to 6.4.3. Remove scripts that have no justification rather than keeping them on the record. Done when every script has a named owner and a written reason, and the team can show the record to an assessor without further explanation.

  4. Enable and test CSP and Subresource Integrity

    Set a CSP policy that allows only the script sources in the approved inventory, then add Subresource Integrity hashes to any script that is loaded from a fixed, version-pinned external URL. Test checkout, payment redirects and admin order entry in a staging environment that matches production, and watch the browser console for blocked resources. Each blocked script must either be added with a justification or removed from the page. Done when a test run of every payment page completes without unapproved blocked or altered scripts, and the policy file and hash list are stored under version control.

  5. Define the detection job and alert routing

    Requirement 11.6.1 asks for a change and tamper-detection mechanism that compares security-impacting HTTP headers and payment page contents as received by the browser, and that runs at least once every seven days or at a frequency set by a targeted risk analysis under 12.3.1. Choose the tool that performs the comparison, decide whether it runs weekly or at a risk-based interval, and set the alert recipients and the on-call path for a detected change. Confirm with your vendor or your team that the tool reads the page as a browser does, since server-side logs alone will not show injected client-side changes. Done when the job schedule, the monitored pages, the alert recipients and a test alert that reaches a named person are documented.

  6. Set a review cadence after each change

    Tie the inventory and the detection baseline to the release process. After every Magento upgrade or patch, every extension or theme change, and every change to a tag manager or third-party widget, rerun the page inventory, update the justification records and refresh the CSP hashes. Keep the detection baseline separate so that an approved change is recorded as approved rather than flagged as tampering. Done when the change ticket template includes these checks, a dated review entry exists for the last change, and the next scheduled review is on the calendar with an owner.

Questions buyers ask about Magento PCI DSS 6.4.3 and 11.6.1 work

What does PCI DSS 6.4.3 and 11.6.1 work cost on a Magento store?

The cost depends on how many scripts run on your payment pages, how many of them come from extensions or custom themes, and how many payment integrations you run. Part of the cost is one-time: building the script inventory, writing justifications, confirming each script's authorization and integrity method, and setting up change detection. Part recurs: reviewing new scripts, updating justifications when owners change, reviewing alerts, and retesting after each Magento patch or theme release. No public price exists for this work, and DeployOpen does not publish one. Ask any provider for a quote built from a written scope that lists the payment pages in scope, the script count, the extensions and themes that load scripts, and the monitoring tool you plan to use. Ask separately for the recurring part so you can compare one-time and ongoing spend.

How long does the Magento payment script work take?

Duration depends on the release line you run, how many payment pages and scripts you have, and how much testing your payment provider and assessor need. Adobe's lifecycle policy gives each 2.4.x release three years of standard support from general availability, and the end of regular support dates differ by release, so a store on an older line may need an upgrade before the controls are stable. Changes to Content Security Policy and Subresource Integrity settings must be tested on storefront and admin payment pages, and every patch cycle can change script hashes. Ask your provider to show the test plan, the list of pages covered, and the point at which the 11.6.1 mechanism starts its weekly checks. Confirm the timeline with your release team before the work starts.

What must our team provide before the work starts?

You need to provide more than repository access. The work requires:

  • Documentation from each payment provider describing the scripts and iframes they load, and whether any of them serve a 3DS purpose.
  • A named owner for every script source, such as the theme vendor, each extension vendor, the tag manager and the payment provider.
  • A change approval path that says who can add, update or remove a script, and what evidence they must attach.
  • Access to staging and production so the team can compare what the browser receives with the inventory.
  • Your current Magento version, extension list and any custom theme code so the inventory starts from what actually runs.

Without these, the justification records will be guesses. Confirm the owner list and approval rules in writing before any scope is agreed.

Can our in-house team do PCI DSS 6.4.3 and 11.6.1 work without a partner?

Yes, if you have people who can read a browser network trace, maintain Magento theme and extension code, configure Content Security Policy and Subresource Integrity, and run a change-detection tool on a schedule. Many teams find the hardest part is not the technical setup but keeping the inventory accurate as extensions and marketing tags change. Before deciding, ask whether the team can produce a current inventory, a written justification for each script, and a weekly alert record that reviewers can sample. Check how many people hold each skill, because one departure can leave the process without an owner. A partner is useful when the internal team needs a first build, an independent review, or a retest after a major change.

Are 3DS scripts exempt from 6.4.3 under PCI SSC FAQ 1581?

Partly. PCI SSC FAQ 1581 says that merchants using a 3-D Secure solution do not need to validate Requirement 6.4.3 for the 3DS scripts. The exemption covers scripts that run for 3DS purposes only. Any other script on the same page, such as analytics, a chat widget, a marketing tag or a fraud script that runs for another purpose, remains subject to 6.4.3. Many stores miss this because the 3DS script and the marketing tag load in the same tag manager. Map each script to its purpose in the inventory, and keep the 3DS exemption reasoning in writing so your assessor can follow it.

Why can a consultant not issue the PCI DSS attestation for us?

A consultant can prepare the controls, inventory and evidence, but the attestation is not theirs to issue. PCI DSS assessments are documented on official PCI SSC templates: a Report on Compliance completed by a Qualified Security Assessor, or a Self-Assessment Questionnaire, each with an Attestation of Compliance. The payment brands decide which entities must validate and run any enforcement, and PCI SSC FAQ 1220 states that certificates are not recognized as validation. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Ask your acquirer which validation type applies to your store, and bring the evidence package to your assessor early.

Which PCI DSS version applies to these requirements today?

PCI DSS v4.0.1 is the only active version, following the retirement of v4.0 on 31 December 2024. Requirements 6.4.3 and 11.6.1 became mandatory on 31 March 2025 for the SAQ D context, and the PCI SSC removed both from SAQ A in January 2025, adding an eligibility criterion that the merchant's site is not susceptible to script attacks. Confirm which SAQ or ROC applies to your store before you plan the scope, because the answer changes which controls you must document. The PCI SSC ran a request for comments on v4.0.1 from 3 June to 20 July 2026 and had announced no release date for a new version as of October 2026, so ask your assessor how they will treat any update.

What does the weekly change detection need to catch on Magento?

Requirement 11.6.1 asks for a mechanism that alerts personnel to unauthorized changes to security-impacting HTTP headers and to payment page contents as received by the consumer browser. On Magento, that means watching Content Security Policy headers, script tags, and the page contents the browser actually loads, not only the files on disk. The mechanism must run at least once every seven days, or at a frequency set by a targeted risk analysis under 12.3.1. Record each alert, who reviewed it, and what action followed. Ask any tool vendor to show how it reads the page as a consumer browser would, and test it against a deliberate change on staging.

Who owns each part of the script control after go-live

Once the payment page script inventory and integrity controls are live, the work splits across four roles, and PCI DSS 6.4.3 and 11.6.1 fail quietly when any one of them assumes another is watching. The merchant's compliance owner holds the written justification for every script, approves additions and removals, and keeps the inventory current. The developers who add scripts own the change itself: every new <script> tag, extension update, tag manager container or Content Security Policy entry must reach the inventory before it reaches production. Agree in writing that no script ships without a justification record, because the inventory is only as complete as the last deployment.

The security team owns the weekly change and tamper-detection output under 11.6.1, including triage of alerts about unauthorized changes to payment page contents and security-impacting headers. Name a person who receives those alerts, a backup for absences, and a documented response path that covers both a false positive and a real skimming indicator. Confirm with your own monitoring provider how alerts are routed and retained, since that detail depends on the tool you choose. The QSA or the SAQ process then consumes this evidence at assessment time, and the assessor or the merchant completing the attestation of compliance decides how it is validated. Confirm with your acquirer which SAQ and validation path applies to your store before assigning these duties.

PCI DSS v4.0.1 is the only active version of the standard, and the PCI SSC has announced no release date for the next iteration after its request for comments closed in July 2026. Treat that as a trigger for review, not a reason to pause. Record which version your assessment references, assign an owner to watch the PCI SSC blog for announcements, and schedule a control review when a new version is published. Each review should re-check the 6.4.3 and 11.6.1 wording, the SAQ eligibility criteria and any changes to Adobe's Content Security Policy defaults in your Magento Open Source release.

How DeployOpen works on this

DeployOpen scopes payment page script compliance for Magento Open Source as a written, fixed-scope engagement inside your own infrastructure. The work covers the script inventory, authorization and integrity evidence, and the weekly change and tamper detection that Magento's restrict-mode CSP and Subresource Integrity do not provide on their own.

How we scope

  • Agree in writing which storefront and admin payment pages, payment integrations and script sources fall inside the engagement.
  • Confirm with your assessor which SAQ applies, since that choice decides which payment page requirements you validate.
  • Record the in-scope pages, owners and change approvers, and whether any 3DS scripts fall under the FAQ 1581 exception.

How we build

  • Build the script inventory from the live payment pages, with source, purpose, owner and a written justification for each script.
  • Configure restrict-mode CSP and Subresource Integrity on Magento, then test that approved scripts load and unlisted scripts are blocked.
  • Set up a scheduled weekly comparison of received page content and security headers, with alerts routed to named personnel.

How we hand over

  • Deliver the script inventory, justification records, authorization and integrity procedures and the detection configuration as documents.
  • Provide a runbook for triaging a tamper alert, approving a new script and retiring an old one through change control.
  • Walk your compliance, security and development teams through the evidence so they can review it against their own assessor's requests.

How we support

  • Support is available as a retainer for script reviews, detection tuning and retesting after Magento patch or extension changes.
  • Re-run the inventory and integrity checks when Magento or a payment connector is upgraded, since upgrades change script behavior.
  • Ask any provider to confirm in writing what is covered after handover, how often reviews occur and who owns each recurring task.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.