Skip to main content
Development

PCI DSS 4.0's March 2025 Deadline: What It Means for Your Checkout Page

From 31 March 2025, PCI DSS 4.0 requires control of every script on payment pages, plus tamper detection. What that means and how to secure your checkout.

  • Stake Binary Team
  • 2 min read

If your website takes card payments, 31 March 2025 is a date to know. That is when the "future-dated" requirements of PCI DSS version 4.0 — the security standard the card brands require from anyone who stores, processes or transmits card data — stop being best practice and become mandatory. Version 3.2.1 was retired a year ago, and the standard has since been updated to version 4.0.1.

Two of the new requirements are aimed squarely at the checkout page in your customer's browser.

The attack they're designed to stop

In a "web skimming" or "Magecart" attack, criminals inject a few lines of malicious JavaScript into a checkout page — often through a compromised third-party script such as an analytics tag, a chat widget or a library loaded from a CDN. The page works normally, but every card number typed into it is quietly copied to the attacker. Because the code runs in the customer's browser, server-side security alone doesn't catch it.

Requirement 6.4.3: control every script on the payment page

All scripts loaded and executed on payment pages must be managed, with:

  • a method to confirm that each script is authorised,
  • a method to assure the integrity of each script, and
  • an inventory of all scripts, with a written justification for why each one is needed.

Requirement 11.6.1: detect changes to the payment page

A change- and tamper-detection mechanism must alert your team to unauthorised changes to the security-relevant HTTP headers and the contents of payment pages as received by the customer's browser. It must run at least weekly, or as often as your own risk analysis determines.

Practical steps for your checkout

  1. List every script that loads on your payment and checkout pages, including scripts loaded by other scripts.
  2. Remove what isn't needed. Analytics, heatmaps, chat widgets and marketing tags rarely need to run on the payment step.
  3. Add a Content Security Policy that allows only approved script sources — ideally with nonces or hashes — and collect violation reports.
  4. Use Subresource Integrity for third-party scripts with fixed versions, so a modified file is blocked.
  5. Monitor the page as a browser sees it, with automated checks that load your checkout, compare scripts and headers with an approved baseline and alert on any change.
  6. Lock down access to your website's code, CMS and tag manager with two-factor authentication. PCI DSS 4.0 also extends multi-factor authentication to all access into the cardholder data environment.

In India, the RBI's card-on-file tokenisation rules, in force since October 2022, already prevent most merchants from storing card numbers. But a compromised checkout page can still steal card details as they are typed — which is exactly what these requirements address.

How we can help

We build secure online stores and payment and fintech products with minimal-script checkouts, strict Content Security Policies and monitoring that alerts you to unexpected changes. Contact us for a checkout security review.

Have a project in mind? Let’s build it together.

Tell us about your idea and get a free consultation plus a detailed, no-obligation quote.

Prefer to talk? Call +91-9462562043 or email info@stakebinary.com