Review scripts
Approve, reject or put out of scope each script on your payment pages, edit a decision, handle changed and rejected scripts, and read a script's history.
Last update:
Every script in scope needs a decision: approved, rejected or out of scope. Each decision is recorded with your name, the date and the content of the script it applied to, so you can show an assessor who authorized what.
Requires the website Analyst role or higher. With a lower role, the Decision block shows what was decided but offers no buttons.
Approve a script
- Go to PCI DSS > Scripts, select the Review tab, then Needs review.
- Select a script to open it.
- In the Decision block, select Approve.
- In Justification, say what the script does and who authorized it.
- Select Approve script.
The script moves to the Approved table and counts as reviewed. The justification is required: there is no way to approve a script without one, because the text is your evidence.
Reject a script
Reject a script that your pages load and should not.
- Open the script and select Reject in the Decision block.
- In Reason, explain why this script should not be on the page.
- Select Reject script.
The script moves to the Rejected table.
Rejecting does not block the script
Rejecting records your decision. The script keeps loading until you remove it from the page or block it in your Content-Security-Policy. The script then shows whether browsers still load it: see Rejected scripts still loaded.
Put a script out of scope
Some scripts are reported from your payment pages without your pages loading them: what a visitor's browser extension or antivirus injects, for example. Put those out of scope rather than rejecting them. Never put a script your page loads out of scope.
- Open the script and select Put out of scope in the Decision block.
- In Reason, explain why your payment pages do not load this script.
- Select Put out of scope.
The script no longer counts in your PCI DSS scope: it leaves the review progress, no longer triggers script alerts, and stays listed in the Out of scope table with your reason. You can approve or reject it later.
To put many scripts out of scope at once, for example every script a known extension injects, use a rule.
Write a justification an assessor can use
A justification answers one question: why is this code allowed to run where cardholder data is entered? Name the business function, the owner and how it was reviewed.
Good: Stripe.js tokenizes the card fields. Required for checkout. Vendor review done in February 2026, owned by the Payments team.
Not useful: needed, ok, third party.
The same goes for a reason. Good: Analytics tag added by marketing without review. Not needed on checkout, removal requested in ticket PAY-142.
Write for someone who does not know your stack and will read many of these.
Change a decision
Open the script and use the Decision block:
- On an approved script, Edit justification records a new justification.
- On a rejected script, Edit reason records a new reason.
- On a script you put out of scope, Edit reason on Put out of scope records a new reason.
- Any other button records a different decision, for example rejecting a script that was approved.
Each change is a new entry in the script's history. The previous decision stays visible there.
A decision made by a person is never changed by a rule, in either direction.
Scripts whose content changed
When a script you approved starts serving different content, it goes back to Needs review, and Changed shows in its Change column. Its drawer keeps your previous justification and says the script changed since that approval.
Do not approve it again by reflex. Check whether the change was expected:
- Your own script after a deploy: expected, approve it again.
- A vendor script matching a release they announced: check the release, then approve it again.
- A vendor script changing with no release you know of: investigate before you decide. This is the case PCI DSS requirement 11.6.1 is about.
The History section shows when each change happened, which helps you tell a vendor's usual release rhythm from an unexpected change.
A script approved by a rule stays approved when its content changes, so nobody reviews that change by hand. Keep approve rules for scripts whose changes you do not need to review one by one.
Rejected scripts still loaded
A rejected script that browsers still report from your payment pages carries one of two labels in the Rejected table and in its drawer:
| Label | What it means | What to do |
|---|---|---|
| Still loaded | Browsers still report it often on your payment pages. | If it comes from your site, remove it from the page or block it in your Content-Security-Policy. If visitors' browsers inject it (an extension, an antivirus), put it out of scope. |
| Rarely reported | Only a few browsers still report it, usually from a cached page or a visitor's extension. | Nothing to do. If it keeps appearing without coming from your site, you can put it out of scope. |
A rejected script that is Still loaded keeps the website in Action needed. Filter the Rejected table by either label to work through them.
The Recent reports block in the drawer shows what your payment pages reported of the script in the last 7 days:
| Field | What it shows |
|---|---|
| Reports | How many reports browsers sent for this script. |
| Browsers | Which browsers reported it. |
| Days with a report | On how many of the 7 days it was reported. |
| Payment pages | On how many payment pages it was reported. |
| Last reported, any period | The last time it was reported, whatever the period. |
After you remove a script from your pages, these figures drop as browsers stop loading it.
If the script changed while you were reviewing
A decision applies to the content you were looking at. If the script's content changed between the moment you opened it and the moment you saved, nothing is recorded and a message says so. The drawer then shows the new content: review it and decide again.
History
The History section of the drawer lists every event on the script, newest first:
| Event | Meaning |
|---|---|
| New script | The script was first seen on a payment page. |
| Content changed | The script started serving different content. |
| Approved | A person approved it. |
| Rejected | A person rejected it. |
| Put out of scope | A person put it out of scope. |
| Approved by a rule | A rule approved it. |
| Rejected by a rule | A rule rejected it. |
| Put out of scope by a rule | A rule put it out of scope. |
| Script left the payment-page scope | It is no longer reported from your payment pages, or no payment page matches it any more. |
| Script returned to the payment-page scope | It is in scope again, with its previous decision. |
Each entry shows the date and time, who did it (or the rule's name), the justification or reason they wrote, and the version of the content it applied to. Nobody can edit or delete a history entry.
Tags on a script
Requires the website Manager role.
- Open the script and select Edit in the Tags section.
- Pick the tags to apply, or create a new one from the picker.
- Select Save tags.
The tags you save replace the ones the script had. For more information, refer to Tags.