Open in TheBrain

PCI DSS 4.0 — 6.4.3 PCI DSS Requirement 6.4.3


source: false

type: canonical-control-reference

standard: PCI DSS

document_version: "4.0"

publication_date: "2022-03"

requirement_id: "6.4.3"

family_id: "6"

family: "Develop and Maintain Secure Systems and Software"

title: "PCI DSS Requirement 6.4.3"

status: historical-edition

assessment_criterion: true

reference_basis: "user-supplied published requirements and testing procedures"

normative_text_included: true

testing_procedures_included: true

guidance_included: true

updated: 2026-09-13

source_sha256: "420d70f31a8825769538b99105b953f27b772e9180a6e2bd36450671c4eb43fc"

source_pdf_pages: [145, 146]

source_printed_pages: "141, 142"

authoritative_sources:

- "PCI DSS v4.0 — March 2022"


6.4.3 PCI DSS Requirement

Edition and assessment boundary

This card reproduces the March 2022 PCI DSS v4.0 text. Version 4.0 is retired; dates and future-dated applicability language are preserved as published, not restated as current guidance. Testing procedures are the published assessment criteria. Guidance explains the requirement and is not an additional standalone requirement. See Source and Version Guide.

Requirement Context

6.4 Public-facing web applications are protected against attacks.

Defined Approach Requirements

6.4.3 All payment page scripts that are loaded and executed in the consumer’s browser are managed as follows:

Defined Approach Testing Procedures

6.4.3.a Examine policies and procedures to verify that processes are defined for managing all payment page scripts that are loaded and executed in the consumer’s browser, in accordance with all elements specified in this requirement.

6.4.3.b Interview responsible personnel and examine inventory records and system configurations to verify that all payment page scripts that are loaded and executed in the consumer’s browser are managed in accordance with all elements specified in this requirement.

Customized Approach Objective

Unauthorized code cannot be present in the payment page as it is rendered in the consumer’s browser.

Applicability Notes

This requirement applies to all scripts loaded from the entity’s environment and scripts loaded from third and fourth parties.

This requirement is a best practice until 31 March 2025, after which it will be required and must be fully considered during a PCI DSS assessment.

Guidance

Purpose

Scripts loaded and executed in the payment page can have their functionality altered without the entity’s knowledge and can also have the functionality to load additional external scripts (for example, advertising and tracking, tag management systems).

Such seemingly harmless scripts can be used by potential attackers to upload malicious scripts that can read and exfiltrate cardholder data from the consumer browser.

Ensuring that the functionality of all such scripts is understood to be necessary for the operation of the payment page minimizes the number of scripts that could be tampered with.

Ensuring that scripts have been explicitly authorized reduces the probability of unnecessary scripts being added to the payment page without appropriate management approval.

Using techniques to prevent tampering with the script will minimize the probability of the script being modified to carry out unauthorized behavior, such as skimming the cardholder data from the payment page.

Good Practice

Scripts may be authorized by manual or automated (e.g., workflow) processes.

Where the payment page will be loaded into an inline frame (IFRAME), restricting the location that the payment page can be loaded from, using the parent page’s Content Security Policy (CSP) can help prevent unauthorized content being substituted for the payment page.

Definitions

“Necessary” for this requirement means that the entity’s review of each script justifies and confirms why it is needed for the functionality of the payment page to accept a payment transaction.

Examples

The integrity of scripts can be enforced by several different mechanisms including, but not limited to:

Referenced Publications