This is engineering guidance, not legal advice. Your acquirer decides your validation requirements, and they are the ones to confirm your SAQ type with.
PCI DSS v4.0.1 is the current version of the card industry's security standard. It was published in June 2024 as a limited revision of v4.0, which replaced v3.2.1. For merchants, the change that matters is the date rather than the version: dozens of requirements introduced in v4.0 were marked "a best practice until 31 March 2025", and since then they've been required in every assessment (PCI SSC).
The timeline
| Date | What happened |
|---|---|
| March 2022 | PCI DSS v4.0 published |
| 31 March 2024 | v3.2.1 retired |
| June 2024 | v4.0.1 published |
| 15 October 2024 | SAQs for v4.0.1 published (PCI SSC) |
| 31 December 2024 | v4.0 retired |
| January 2025 | SAQ A revised: 6.4.3, 11.6.1 and 12.3.1 out, a script-attack eligibility criterion in (PCI SSC) |
| February 2025 | PCI FAQ 1588 explains how to meet that criterion (PCI SSC) |
| 31 March 2025 | Future-dated v4.x requirements become mandatory; revised SAQ A takes effect |
Version dates from Table 6 of PCI DSS v4.0.1 (PCI SSC). One wrinkle: the Council's January 2025 post says the revised SAQ A "does not take effect until 31 March 2025", while its February post says the new requirements "take effect on 1 April 2025" (PCI SSC). Either way, it's in force now.
What 4.0.1 changed: wording, not requirements
The Council's summary of changes from v4.0 to v4.0.1 has no change in its "Evolving Requirement" category, the one for new or removed requirements (PCI SSC). It's clarifications. The ones a merchant would notice:
- 6.3.3 goes back to requiring critical patches within one month of release, rather than all "high-security" ones.
- 6.4.3 and 11.6.1 gain applicability notes for pages that embed a processor's iframe (below).
- 8.4.2 no longer applies to accounts that only use phishing-resistant authentication.
- 11.6.1 says "weekly" instead of "once every seven days".
- 12.3.1 targeted risk analyses apply only where a requirement asks for one.
If you were compliant with v4.0, there's nothing new to build for v4.0.1.
What v4.0 added that's now mandatory
The changes that hit merchants were in v4.0 itself. A sample of the requirements that carried the 31 March 2025 note, from PCI DSS v4.0.1 (PCI SSC):
- 8.3.6 Passwords at least 12 characters, with letters and numbers (8 if the system can't take 12). Under v3.2.1 the minimum was seven.
- 8.4.2 MFA for all non-console access into the cardholder data environment, not just admin access.
- 5.4.1 Automated mechanisms to detect and protect staff against phishing.
- 10.4.1.1 Automated audit log reviews.
- 3.4.2 Technical controls that stop people copying card numbers over remote access.
- 12.3.1 A written targeted risk analysis wherever you pick your own frequency for a control.
- 6.4.3 and 11.6.1 Payment page script control and tamper detection.
Which of these you answer depends on your SAQ: SAQ A has 8.3.6 but not the MFA requirements, for example. The full list per SAQ is in the PCI compliance checklist.
6.4.3 and 11.6.1, in plain terms
Both target e-skimming, where a malicious script on the checkout page reads card numbers as they're typed.
Requirement 6.4.3 covers "all payment page scripts that are loaded and executed in the consumer's browser". You need a method to confirm each script is authorized, a method to assure each script's integrity, and "an inventory of all scripts... with written business or technical justification as to why each is necessary". The standard's guidance names subresource integrity, Content Security Policy, and script or tag management systems as ways to enforce it.
Requirement 11.6.1 asks for a change- and tamper-detection mechanism that alerts on unauthorized changes to "the security-impacting HTTP headers and the script contents of payment pages as received by the consumer browser", run at least weekly or at the frequency your targeted risk analysis sets. The standard says it doesn't mean installing software in your customers' browsers.
The iframe line is drawn in both requirements' applicability notes: they apply to scripts on your page that embeds a processor's payment form, and not to the scripts inside the processor's iframe, which are the processor's job (PCI SSC). In March 2025 the Council also published an information supplement, Payment Page Security and Preventing E-Skimming, with implementation guidance for both; it adds no requirements (PCI SSC).
Who they apply to after the January 2025 SAQ A revision
The SAQ A published in October 2024 had added 6.4.3, 11.6.1 and 12.3.1. After pushback about how hard they were to implement, the January 2025 revision took all three out and added an eligibility criterion instead: you confirm your site "is not susceptible to attacks from scripts that could affect the merchant's e-commerce system(s)". The Council was clear that this "does not remove or diminish the underlying requirements within PCI DSS" (PCI SSC).
| Your setup | 6.4.3 and 11.6.1 |
|---|---|
| SAQ D, or SAQ A-EP (your page serves or builds the payment form) | Apply in full |
| SAQ A, processor's iframe embedded in your page | Off the questionnaire, but to qualify you must meet the script criterion: with protections like 6.4.3 and 11.6.1, yours or a third party's, or with confirmation from your PCI DSS compliant processor that its embedded form protects your page (PCI SSC) |
| SAQ A, redirect to the processor's page | The script criterion doesn't apply (PCI SSC) |
| Your processor | Still applies to its own payment pages |
So for an iframe checkout, "SAQ A no longer has 6.4.3" is true and not much of a saving: the most common way to pass the criterion is to do roughly what 6.4.3 and 11.6.1 describe. Whether your processor will give you the written confirmation instead is a question for your processor; for Stripe, see Stripe PCI compliance.
An 11.6.1-style check in code
A weekly job that fetches the payment page, compares its scripts against your 6.4.3 inventory, and flags changes to inline scripts and security headers. The baseline is whatever you recorded from the last approved release:
import hashlib
import urllib.request
from html.parser import HTMLParser
PAYMENT_PAGE = "https://shop.example.com/checkout"
# The 6.4.3 inventory: every script on the page and why it is there.
APPROVED_SCRIPTS = dict([
("https://js.stripe.com/v3/", "Stripe.js: renders the card iframe"),
("/static/checkout.js", "our checkout logic, never touches card fields"),
])
WATCHED_HEADERS = ("content-security-policy", "strict-transport-security")
class ScriptCollector(HTMLParser):
def __init__(self):
super().__init__()
self.sources, self.inline_hashes = [], []
self._inline = False
def handle_starttag(self, tag, attrs):
if tag == "script":
src = dict(attrs).get("src")
if src:
self.sources.append(src)
self._inline = not src
def handle_endtag(self, tag):
if tag == "script":
self._inline = False
def handle_data(self, data):
if self._inline and data.strip():
self.inline_hashes.append(hashlib.sha256(data.encode()).hexdigest())
def check_payment_page(baseline):
"""Return a list of problems; an empty list means nothing changed."""
req = urllib.request.Request(PAYMENT_PAGE, headers=dict([("User-Agent", "page-check")]))
with urllib.request.urlopen(req, timeout=10) as resp:
headers = dict((k.lower(), v) for k, v in resp.headers.items())
page = ScriptCollector()
page.feed(resp.read().decode("utf-8", "replace"))
problems = ["unapproved script: " + s for s in page.sources if s not in APPROVED_SCRIPTS]
if sorted(page.inline_hashes) != baseline["inline_hashes"]:
problems.append("inline script content changed")
for name in WATCHED_HEADERS:
if headers.get(name) != baseline["headers"].get(name):
problems.append("security header changed: " + name)
return problems
This sees the page as your server sends it, which catches a tampered template or a new tag someone added. It doesn't see a script that a compromised third-party script injects once it's running in the browser, so pair it with a Content Security Policy and its violation reports, which do. The PCI compliance checklist has a starting CSP for a Stripe Elements page.
v4.0 tightened Requirement 8. Role-based access with step-up MFA for the risky operations, in code. From chapter 17.
Access Controls: Not Everyone Needs the Nuclear Codes
Access control is about making sure only the right people can do the right things at the right times. We learned this the hard way when a customer service rep accidentally issued a $50,000 refund instead of $50. The customer was delighted. Our client was not.
The reference implementation in src/examples/17-compliance/access_control_system.py provides the building blocks: a PaymentPermissions enum for granular permissions, a require_permission decorator that can demand recent MFA, an AccessControlManager for users and roles, a RateLimiter to throttle sensitive operations, and an AuditLogger capturing every access attempt.
# Permission-based access control (conceptual)
from enum import Enum
class PaymentPermissions(Enum):
VIEW_PAYMENTS = "payment.view"
PROCESS_REFUNDS = "payment.refund"
BULK_REFUNDS = "payment.bulk_refund" # High-risk
DATA_DELETION = "data.delete" # High-risk
def require_permission(permission, require_mfa=False):
"""Decorator to enforce permissions with optional MFA"""
def decorator(func):
def wrapper(*args, **kwargs):
user = get_current_user()
# Permission check
if not user.has_permission(permission):
audit_log("access_denied", user.id, permission)
raise AccessDenied(f"Required: {permission}")
# MFA check for sensitive operations
if require_mfa and not user.has_recent_mfa(minutes=10):
raise MFARequired("Please verify your identity")
# Rate limiting for high-risk operations
if permission in HIGH_RISK_PERMISSIONS:
if not check_rate_limit(user.id, max_calls=5, window=60):
raise RateLimitExceeded("Too many operations")
# Log and execute
audit_log("access_granted", user.id, permission)
return func(*args, **kwargs)
return wrapper
return decorator
# Usage: protect functions with decorators
@require_permission(PaymentPermissions.PROCESS_REFUNDS.value)
def process_refund(payment_id, amount):
# Only users with refund permission can call this
pass
@require_permission(PaymentPermissions.BULK_REFUNDS.value, require_mfa=True)
def process_bulk_refunds(payment_ids):
# Requires permission AND recent MFA verification
pass
The full code adds role-based access control (RBAC), predefined roles (customer_service, finance, admin), user lifecycle management, and audit trails for every access attempt.
Questions
What is the current version of PCI DSS?
PCI DSS v4.0.1, published in June 2024. PCI DSS v4.0 was retired on 31 December 2024 and v3.2.1 on 31 March 2024.
What changed in PCI DSS 4.0.1?
Clarifications rather than new requirements. The Council's summary of changes lists no new or removed requirements. It clarifies, among others, 6.3.3 (critical patches within one month), the iframe applicability of 6.4.3 and 11.6.1, and phishing-resistant authentication under 8.4.2.
When did the PCI DSS 4.0 requirements become mandatory?
On 31 March 2025. Requirements introduced in v4.0 carried a note making them a best practice until that date, after which they must be fully considered in every PCI DSS assessment.
What are PCI DSS requirements 6.4.3 and 11.6.1?
Two requirements against e-skimming on payment pages. 6.4.3 requires every script on the payment page to be authorized, integrity-checked and listed in an inventory with a justification. 11.6.1 requires a mechanism that alerts on unauthorized changes to the page's scripts and security-impacting HTTP headers, at least weekly or at a risk-based frequency.
Do 6.4.3 and 11.6.1 apply to SAQ A merchants?
Not as questionnaire items since the January 2025 SAQ A revision. Instead, a merchant embedding a processor's iframe must confirm its site isn't susceptible to script attacks, using protections like 6.4.3 and 11.6.1 or written confirmation from the processor. Merchants that redirect to the processor's page are outside that criterion.