PCI DSS 6.4.3 and 11.6.1, in plain words: what each part asks and what to show your assessor
PCI DSS 6.4.3 tells you to control every script on a payment page. You authorize each script, you assure its integrity, and you keep an inventory with a written reason for each script. PCI DSS 11.6.1 tells you to detect unauthorized changes to the scripts and the security-impacting HTTP headers that the consumer browser receives. The detection mechanism alerts personnel and runs at least once a week, or at a frequency that your targeted risk analysis sets. The two requirements became effective on 31 March 2025.
Why the two requirements exist
A script on a payment page runs in the consumer browser. It can read the card number as the customer types. The PCI SSC guidance for 6.4.3 and 11.6.1 names two attack types. In a supply-chain attack, an attacker changes a third-party script. In a script injection attack, an attacker adds a script that sends card data to a domain that the attacker controls.
The Council added the two requirements in PCI DSS v4.0 in 2022 to help prevent and detect such scripts. The PCI SSC announcement of the guidance sums up the goal: scripts are authorized, checked for integrity and monitored for tampering.
Requirement 6.4.3: control every payment page script
The text in PCI DSS v4.0.1 covers all payment page scripts that the consumer browser loads and executes. It has three parts.
What counts as a payment page script
The PCI DSS glossary, as the guidance quotes it, defines a payment page script as programming language commands that the consumer browser interprets. JavaScript is the usual example. HTML and CSS are not programming languages, so they are not scripts.
The applicability notes say that 6.4.3 applies to scripts from your own environment and from third and fourth parties. A tag management system is one example of a script that loads more scripts.
Part 1: authorize each script
You must have a method that confirms that each script is authorized. The guidance says that the standard does not specify how the method works, who authorizes, or if the process is manual or automated.
Timing matters. A third party can change its script without notice. Thus the guidance column of the standard says that authorization comes before a change where possible. Where that is impractical, you confirm the authorization as soon as possible after the change.
Part 2: assure the integrity of each script
You must have a method that assures the integrity of each script. The guidance reads this as a check for a new script and a check for a changed script.
PCI DSS does not mandate one mechanism. The standard lists three examples:
- Subresource Integrity (SRI). It lets the consumer browser confirm that nobody tampered with a script.
- A Content Security Policy (CSP). It limits where the browser can load scripts from and where it can send account data.
- Proprietary script or tag management systems that can prevent malicious script execution.
Part 3: keep an inventory with a written justification
You must keep an inventory of all scripts. Each entry needs a written business or technical justification that tells why the script is necessary. The guidance says that a spreadsheet can be enough for a simple site. A larger site can use automated tools. Fewer scripts give an attacker fewer targets.
Requirement 11.6.1: detect changes as the browser receives them
11.6.1 asks for a change and tamper detection mechanism. The standard sets the conditions below.
What the mechanism watches
The mechanism looks at two things: the security-impacting HTTP headers and the script contents of payment pages. It looks at them as the consumer browser receives them. The standard says that the browser is the only place to detect such changes, because the page comes together there. The guidance gives examples of security-impacting headers, such as Content-Security-Policy, Strict-Transport-Security and Set-Cookie.
What counts as a change
The mechanism must flag unauthorized modification: indicators of compromise, changes, additions and deletions. The guidance names three cases: a header or script appears, changes or disappears.
Who gets the alert
The mechanism alerts personnel. The guidance gives email, SMS and syslog events as examples. Requirement 12.10.5 asks for an incident response plan that includes the alerts from this mechanism.
How often it runs
The mechanism runs at least once a week. As an alternative, you can set a different frequency in a targeted risk analysis under Requirement 12.3.1. The guidance warns that a malicious change can stay hidden between two checks. It recommends frequent or real-time monitoring where feasible.
What 11.6.1 does not ask
The applicability notes say that the intent is not to install software in the systems or browsers of your customers. The standard lists example techniques instead:
- CSP violation reports through the report-to or report-uri directives.
- Synthetic user monitoring that requests and analyzes the page.
- A tamper-detection script in the payment page.
- Reverse proxies or content delivery networks.
The standard adds that one technique alone is not necessarily a full mechanism.
Who must meet 6.4.3 and 11.6.1
The date
In PCI DSS v4.0.1, both requirements were best practices until 31 March 2025. After that date they are required and must be fully considered during an assessment. In the Coffee with the Council podcast, PCI SSC says that 51 of 64 new requirements had this date.
The page
The responsibility depends on how your checkout collects card data. The guidance gives these cases:
- Your page hosts the payment form. You manage all scripts on your pages.
- Your page embeds the payment form of a provider in an iframe. You manage the scripts on the parent page. The provider manages the scripts inside its iframe.
- Your page redirects the customer to the provider. Where a script does the redirect, 6.4.3 and 11.6.1 apply to that script.
- The provider hosts your whole website. 6.4.3 and 11.6.1 do not apply to you.
For a merchant that uses a 3DS solution, the guidance says that 3DS scripts do not need validation under 6.4.3. A script that does other work on the page is still in scope.
The questionnaire
The guidance says that the two requirements are in SAQ A-EP, the two SAQ D forms and the Report on Compliance template. In January 2025, PCI SSC removed 6.4.3 and 11.6.1 from SAQ A. In their place, SAQ A has an eligibility criterion. The merchant must confirm that its site is not susceptible to attacks from scripts that could affect its e-commerce systems. The same post says that this change does not remove the requirements from PCI DSS.
What an assessor may ask you to show
This table maps each part to the evidence that the guidance lists in its section on assessment evidence.
| Part | What it asks | Evidence the guidance lists |
|---|---|---|
| 6.4.3 policies and roles | Written processes and roles (6.1.1 and 6.1.2) | Policies and procedures, a definition of roles, interviews with personnel |
| 6.4.3 authorization | A method confirms that each script is authorized | Records in a ticket or workflow system, kept email approvals, system configurations |
| 6.4.3 integrity | A method assures the integrity of each script | System configurations that show the integrity method |
| 6.4.3 inventory | An inventory with a written justification per script | Inventory records and the business or technical justification |
| 11.6.1 mechanism | A change and tamper detection mechanism is in use | System settings, the monitored payment pages, logs or reports from monitoring |
| 11.6.1 configuration | Headers and script contents, as received, with alerts | Configuration settings for detection and alerts |
| 11.6.1 frequency | Weekly, or as your risk analysis sets | Configuration settings, the targeted risk analysis, interviews |
| 11.6.1 response | Alerts feed incident response (12.10.5) | The incident response plan, an observed response or a table-top exercise |
An example
Acme sells online at shop.example. Its checkout page hosts the card form. It loads checkout.js, a currency library from a CDN and an analytics tag.
For 6.4.3, Acme lists the three scripts. The justification for checkout.js reads "Our own checkout bundle". John Doe, the security lead, approves each script in a ticket. Acme pins the CDN library with SRI.
For 11.6.1, a daily scan compares the headers and scripts with the approved state. One night the analytics tag changes. John Doe gets an alert before the next customer pays $129.00. He opens an incident under the response plan. The ticket, the alert and the incident become evidence.
Where MonSpark fits
MonSpark Client-Side Protection has a feature for each part above. It keeps an inventory of external and inline scripts in every frame, with versions and justifications. Each script version needs an approval that records who approved it and when. A SHA-256 hash for each version is compared on every scan. A new, changed or removed script, or a changed header, opens an incident. MonSpark also produces a PDF report for your assessor.
See MonSpark Client-Side Protection or book a demo on your own payment page.


