PCI DSS guide
PCI DSS payment page scripts: requirements 6.4.3 and 11.6.1 explained
What PCI DSS v4.0.1 asks of the scripts on your payment page: managing them under Requirement 6.4.3, detecting tampering under 11.6.1, which pages are reached, what a sound inventory looks like and the evidence a QSA samples.
Key points
- PCI DSS v4.0.1 has two payment page script requirements: 6.4.3, which asks you to manage the scripts that run on the payment page, and 11.6.1, which asks you to detect unauthorised changes to that page.
- Both were introduced as future-dated requirements with v4.0 and have been tested in every assessment since 31 March 2025.
- The threat is e-skimming: code running in the customer's browser that copies card details as they are typed, without touching your servers.
- Evidence has to show the controls operating over time: an inventory kept current, integrity checks that run, and alerts that someone investigated.
What the PCI DSS payment page script requirements are
PCI DSS payment page scripts are governed by two requirements in version 4.0.1. Requirement 6.4.3 sits under Requirement 6, Develop and Maintain Secure Systems and Software, and deals with managing every script loaded and run on the page where a customer enters card details. Requirement 11.6.1 sits under Requirement 11, Test Security of Systems and Networks Regularly, and deals with detecting tampering on that page. One prevents, the other detects, and each leaves a gap without the other.
Both belong to the 51 requirements that v4.0 introduced as best practice and that became mandatory on 31 March 2025.
The wider picture of what else changed in v4.0.1 is in PCI DSS v4.0.1: what changed and what your next assessment tests.
Why scripts on the payment page became a PCI DSS concern
A modern checkout is rarely one piece of code. The page a customer sees is assembled in the browser from your own files and from third parties: analytics, tag managers, chat widgets, fraud tools, consent banners, advertising pixels and the payment provider's own library. Every one of those scripts runs with the same privileges on the page. If any of them is altered, at its source or on the way, it can read what the customer types into the card fields and send it elsewhere.
This is e-skimming, and the PCI Security Standards Council has published an information supplement on payment page security and preventing it. It is hard to notice from the inside: transactions complete normally and your servers see nothing unusual.
Which pages and which scripts the requirements reach
The answer depends on how the payment page reaches the customer, and it is the first question to settle with your QSA or, for a self-assessment, with your acquirer. The table sets out the questions Sterling works through for each common model; it is a starting point for that conversation, not a ruling on applicability.
| How the payment form is delivered | Where the scripts that matter sit | What to settle before the assessment |
|---|---|---|
| Your own page builds and submits the card form | On your page, including every third-party script it loads | A full inventory of the checkout and any page that shares its templates |
| A provider's form embedded in your page in an inline frame | In the provider's frame, and on your parent page that hosts it | Which party manages the frame's scripts, and whether your parent page could alter or overlay the frame |
| A redirect to a provider's hosted payment page | Mainly on the provider's page; your site controls the redirect | Whether the redirect itself can be tampered with, and what the provider's AOC covers |
| A payment script from the provider loaded into your page | On your page, where the provider's library and your own code run side by side | How the provider's script is authorised and checked, and who is told when it changes |
Merchants that self-assess face one more question. In January 2025 the Council removed 6.4.3 and 11.6.1 from SAQ A and added an eligibility criterion instead, under which the merchant confirms its site is not susceptible to attacks from scripts that could affect its e-commerce systems. The requirements themselves remain in the standard. How that criterion decides between SAQ A and SAQ A-EP is covered in Which SAQ applies to you: eligibility explained.
The Council has also answered, in a published FAQ, how Requirement 6.4.3 applies to 3-D Secure scripts called from a merchant checkout page. If your checkout uses 3-D Secure, review it with your QSA.
Requirement 6.4.3 in practice: the script inventory
The heart of 6.4.3 is knowing, at any moment, exactly which scripts run on the payment page, why each one is there, that someone with authority approved it, and that the copy running today is the copy that was approved. In practice that becomes a living inventory tied to change control, with an integrity method for each entry.
The worked example below shows part of an inventory for a mid-sized online retailer whose checkout loads its own code and several third-party scripts. The column headings are the ones Sterling uses so that a QSA can trace each script to its approval and its check; the standard does not prescribe a format.
| Script | Source | Business reason | Owner and approval | Integrity method |
|---|---|---|---|---|
| Checkout logic | Own domain | Basket, delivery and order confirmation | Head of e-commerce; change ticket per release | Hash recorded at release and compared on deployment |
| Payment provider library | Provider domain | Renders and submits the card form | IT security; approved at onboarding, reviewed on provider notice | Pinned version with an integrity attribute |
| Analytics tag | Vendor domain | Conversion reporting | Marketing lead; approved with written justification | Loaded only through an allow-list policy |
| Chat widget | Vendor domain | None on the payment step | Removed from checkout templates | Not applicable: removed |
The last row matters as much as the others. The quickest way to reduce the work of 6.4.3 is to remove scripts that have no reason to be on the payment step. Marketing and customer-service tools often arrive through a tag manager without anyone in security knowing, and a tag manager on the checkout is effectively a door through which new scripts can appear without a release.
Requirement 11.6.1 in practice: detecting unauthorised change
Where 6.4.3 controls what should run, 11.6.1 asks how you would know if the page changed anyway. The requirement calls for a change- and tamper-detection mechanism on the payment page as the customer's browser receives it, with alerts when something unauthorised appears. Checking the files on your web server is not the same thing, because the attack often lives in a third-party file your server never holds.
The frequency of the check is supported by a targeted risk analysis under Requirement 12.3.1, and the PCI SSC's January 2025 SAQ A update named 12.3.1 alongside 11.6.1 for exactly that reason.
Detection only counts when someone acts on it. An assessor will ask who receives the alerts, how quickly they are triaged, how a genuine release is told apart from an attack, and what happens next. That last step should lead into your incident response plan, since a confirmed skimming script is a suspected compromise of account data and the acquirer's rules on notification apply.
How Sterling handles payment page scripts
An inventory your developers keep and a QSA can follow
Sterling's expert and experienced consultants map every page in the payment journey with your developers and marketing team, strip scripts that have no business on the checkout, build the inventory into your change process, set up the targeted risk analysis for detection frequency and rehearse the alert-to-incident path. The records live in Effivity, so the evidence builds up month by month instead of in the week before fieldwork. The QSA assesses and attests; Sterling does not validate. We ensure successful validation for our clients.
Book a free discovery callWhat a QSA samples, and what goes wrong
Expect the assessor to load the payment page, list the scripts the browser actually runs and compare that list with your inventory. Any script missing from the inventory, or present in the inventory without an approval, becomes a question. Change records, the detection set-up and closed alerts are sampled next.
The failures Sterling sees most often are consistent:
- An inventory built once for the assessment and never updated, so the live page no longer matches it.
- Approval recorded for the team's own code but not for scripts added by marketing through a tag manager.
- Integrity checks on the web server only, blind to changes in third-party files served from elsewhere.
- Alerts routed to a mailbox nobody reads.
- Assuming an embedded or hosted payment form removes every obligation, while the parent page keeps loading unreviewed code.
- A targeted risk analysis for detection frequency that is missing or is a single unsupported sentence.
These sit alongside the other recurring failures described in PCI DSS common mistakes: the ten that fail assessments. Where a script control cannot be met as written, the routes available are set out in PCI DSS compensating controls and the customised approach.
PCI DSS payment page scripts: questions buyers ask
Do the payment page script requirements apply if our payment form sits in a provider's iframe?
Often yes, at least for your parent page, because the page hosting the frame can still load code that affects what the customer sees. How far the obligations reach depends on the integration and the validation route, so confirm it with your QSA or acquirer and check what your provider's AOC covers.
Are payment page script controls required for merchants using SAQ A?
Not as line items since January 2025, when the Council removed 6.4.3 and 11.6.1 from SAQ A and replaced them with an eligibility criterion. You must still be able to confirm that your site is not susceptible to attacks from scripts that could affect your e-commerce systems, and if you cannot, SAQ A is not your questionnaire.
How often must we check the payment page for tampering?
At the frequency you can justify through a targeted risk analysis under Requirement 12.3.1. Your QSA will test that the analysis exists, that it explains the chosen frequency and that the checks ran as defined throughout the period.
Does a tag manager count as a payment page script?
Yes, and so does every script it injects. A tag manager on the checkout can introduce new code without a release, so either keep it off the payment step or put every tag it serves through the same inventory and approval process.
Can our e-commerce platform or payment provider meet these requirements for us?
Partly, where its AOC and responsibility matrix say it does. Scripts that you or your agencies add to your own pages remain your responsibility, so the split has to be written down and checked rather than assumed.
What evidence does a QSA ask for on payment page scripts?
A current script inventory with a reason and approval for each entry, the integrity method per script, change records for recent updates, the detection mechanism's configuration, the targeted risk analysis for its frequency, and the alerts raised during the period with how each was resolved.
More PCI DSS guides
Every guide in the PCI DSS series is written for one question and links back to the hub for the whole picture.
- PCI DSS compliance cost: what moves the price
- Effivity for PCI DSS: the guide
- PCI DSS in India
- PCI DSS internal audit and the ISA
- PCI DSS in the Netherlands and Europe
- PCI DSS vs ISO/IEC 27001 and SOC 2
- PCI DSS requirements explained, requirement by requirement
- PCI DSS scoping and segmentation: shrinking the CDE
- PCI DSS training: who needs what
- PCI DSS v4.0.1: what changed and what your next assessment tests
- PCI DSS validation step by step: ROC, SAQ and AOC
- Which SAQ applies to you: eligibility explained
Keep exploring
Explore more about PCI DSS
Watch a video on how to implement PCI DSS here.
Watch a video on PCI DSS requirements here.
PCI DSS resources
Services for PCI DSS
Talk to a consultant
Get your checkout scripts inventoried and monitored before your QSA looks.
Tell us your goals, locations and target date. We’ll help you define the scope, timeline and next steps.
hello@sterling-grc.com+1 201 263 4443 (global headquarters) · your nearest office and its number are at the top of this page
What would you like to achieve?
Choose a starting point. The enquiry form takes about a minute.
Book my free discovery callContinue to the enquiry form to share your details. Please do not include passwords, sensitive personal information or confidential files. A Sterling consultant replies within one working day. Privacy notice