The payment page: the booking went through, and so did a copy of the card

2026-12-02
#payment page #script #British Airways #PCI DSS #card data #online shop

The booking finishes. The customer gets a ticket. The payment looks the way it looked yesterday. In the background a copy of the card number leaves for another site, and nobody in the company sees it, because nothing broke.

The penalty set out in the Information Commissioner's Office decision of 16 October 2020 is £20 million. The way in was a remote login. The way out was a script on the page where the customer types the card.

A pale payment card on a white surface, chip and contactless symbol visible

A card on a white surface. Nothing on it says where a copy went. Photo: JERO SenneGs / Unsplash.

Fifteen days when the checkout still worked

The office describes the attack as running from 22 June to 5 September 2018. The attacker got into an internal British Airways application with compromised credentials for a Citrix remote-access login. That access had been granted to an employee of Swissport, a supplier, not to someone in payments. The decision records that BA did not intend anyone at Swissport to reach customer data. From that entrance the attacker moved further across the network.

At the end of that path, a JavaScript file on britishairways.com was changed. The change copied card data to a domain the attacker controlled, BAways.com. In its explanations to the office, BA calls this skimming. The script stayed active for 15 days, from 21 August to 5 September 2018. The customer typed the card into the ordinary booking form. A copy went off to the side. The booking and the payment carried on, without a break.

On 5 September 2018 someone outside the company told BA that data was leaving. Within 90 minutes BA altered the malicious code and contained the gap. Twenty minutes later it blocked the paths to BAways.com. The next day, 6 September, it notified the office. Its own view of the page had not shown this. In its explanations BA added that the report was about requests sent to BAways.com. The office still reads that as data leaving for the domain.

A test log, left on since December 2015

Before the script on the site was running, the attacker found logs. On 26 July 2018 they held, in plain text, card details from transactions paid with miles. This was not a feature the company needed in daily work. It was a testing feature, meant to run only while the systems were not live, and left on after go-live. BA explains the plain-text storage as human error. The log had been collecting card details since December 2015.

The logs were kept for 95 days, so only cards from that window could be reached, not the whole three years. The office still writes of about 108,000 cards. In most cases the log also held the CVV, the three digits on the back. The card-industry rule the office cites is short: do not keep the CVV, and do not keep what the company does not need. Nobody switched the test feature off in 2015, or after May 2018, when the GDPR started to apply.

Two lists in one decision

In the section on the personal data involved, the office writes that the attacker potentially accessed the data of about 429,612 people. Under that figure is a list. Name, address, card number and CVV: 244,000 people. Card number and CVV only: 77,000. Card number only: 108,000. Usernames and passwords of employee and administrator accounts, with no count given. Username and PIN for up to 612 Executive Club accounts.

Later, at paragraph 7.33, there is a different sentence. CVV numbers were taken for 77,000 of the 185,000 customers whose card data was compromised. 77 and 108 make 185, so this may be a different cut from the first list, where CVV is also attached to the 244,000. I leave both tallies side by side and use the inventory in the data section for the description. The headline “more than 400,000” does not show that gap.

183 million in the notice of intent, 20 in the decision

On 4 July 2019 the office sent a notice of intent to fine. The proposed amount was £183.39 million. BA did not admit a breach of the GDPR and sent in its explanations. The office found that the company had not kept the security of the data required by Article 5(1)(f) and Article 32. In the decision of 16 October 2020 the arithmetic is different from that first figure.

The office considers that, in principle, a penalty of £30 million would have been appropriate, before mitigating factors and its own policy for the pandemic. For cooperation, notification, the offer to reimburse customers who lost money directly because their card details were stolen, and the fixes after the incident, the figure comes down by 20 percent, to £24 million. Then, under the office’s COVID-19 approach, another £4 million comes off. What remains is £20 million.

BA’s turnover for the year ended 31 December 2017 is recorded by the office as £12.226 billion. £20 million is plainly under 1 percent of that turnover. The amount does not produce a price list for a shop. It produces an order of events. First there was a page that kept taking payment as usual. Then a penalty an airline can absorb in its results, and that would end the conversation at a smaller company about how someone would surely have noticed.

Since 31 March 2025 the payment page has a script list

PCI DSS, the card-industry standard, added two requirements in version 4.0 for an attack in which a script in the customer’s browser copies card data. Version 4.0 came out in March 2022. Until 31 March 2025 those requirements were best practice. From that day they are required, and an assessment has to take them fully into account. The PCI Security Standards Council says so in a conversation on the e-commerce requirements. Version 4.0.1, from June 2024, described in a Council note, does not move that date. The Council retired version 4.0 itself on 31 December 2024.

Requirement 6.4.3 covers scripts that load and run in the browser on the payment page. Each one has to be authorized, it has to be possible to check that nobody quietly replaced it, and it has to sit on an inventory with a written business or technical reason. 11.6.1 covers what the browser received: an alert when security-relevant headers change, or the scripts on the page change. The default is at least once a week, or another rhythm if a written risk analysis sets one. That is how these points are summarized in the Council’s supplement of March 2025.

The short questionnaire, SAQ A, is for companies that do not store, process or transmit card data on their own systems, and whose customer pays at the payment company. In the announcement of January 2025 the Council took requirements 6.4.3 and 11.6.1 off that form, and also item 12.3.1, which existed only to justify a different rhythm. In their place, the eligibility conditions gained a sentence: confirm that the site is not susceptible to a script attack that could affect the shop. In the same announcement the Council writes that changing the questionnaire does not remove the requirements from the standard. Which form a given company files is something the acquirer says.

You can check this without the standard on the desk. A card number typed on your domain means the script list is yours. Sending the customer to the payment company’s page, or taking payment inside its frame, drops those two numbers from the short questionnaire and leaves the question of whether a script on your side can break the path to payment. A chat widget, a tag manager and a testing tool often sit next to the pay button.

Four questions before you put this off

You do not need to read a hundred-page decision. You need to see whether the page where the customer pays has an owner.

Where the card number is typed. On your domain, or on the payment company’s page. If nobody in the company can show that on one real order, the rest of the conversation is about a different page from the one the customer sees.

Who can add a script on that page. An agency, marketing, a plugin, a tag manager, someone who dropped in a chat for a while. BA did not order a script that copies the card. The change got in because access reached further than the company thought.

Whether someone would notice within a week that a script had changed. At BA the booking kept working for 15 days. The report came from outside. A watch that stays quiet until someone writes in is not watching.

Whether a test left something behind that records the card. BA’s log collected numbers from December 2015, in the clear, CVV included, because a test feature stayed in production. The question is not whether you have logs. It is whether someone has checked that the card number does not fall into them.

A page that works is still worth checking

£20 million is an airline’s bill. For fifteen days the payments looked ordinary, while a copy of the card went to a domain with a name close to its own. Next to that sat a test log that had been on for years. It shows up when the payment page is a system, not a form that is fine because orders still come in.

If the checkout sits on your page and there is no list of what loads on it, it can be taken apart on a single payment screen. See my technical consultation. We take one page where the customer pays, and I leave in writing what loads, who can change it, and whether a change would be visible at all.

All the best,
Sławek

If you need a website that builds trust and leads to a conversation, see the website offer .

Technology that works for your business

Ready to transform your business? Let's discuss your needs and find the best solution.

Latest Posts

View all
The payment page: the booking went through, and so did a copy of the card

The payment page: the booking went through, and so did a copy of the card

A £20 million fine for British Airways. For 15 days a payment-page script copied cards while the bookings still went through.

Read more
Software estimates: the date in the quote is not a date yet

Software estimates: the date in the quote is not a date yet

Buehler: fewer than half finished even by their pessimistic thesis date. Flyvbjerg: in 1 of 6 large IT projects, cost overran by 200% on average.

Read more
Company email in spam: the domain, DNS, and three records

Company email in spam: the domain, DNS, and three records

Since February 2024 Gmail requires SPF or DKIM. Since May 2025 Outlook.com sends bulk mail without SPF, DKIM, and DMARC to junk, and can then reject it.

Read more
The CrowdStrike outage: one update, and a company that doesn’t boot

The CrowdStrike outage: one update, and a company that doesn’t boot

On 19 July 2024 a bad CrowdStrike file crashed Windows PCs. Microsoft: 8.5 million devices. Delta: about 7,000 flights and at least $500 million.

Read more
Technical debt: what “we’ll fix it later” actually costs

Technical debt: what “we’ll fix it later” actually costs

McKinsey: 10–20% of the budget for new products goes to tech debt. Knight Capital lost over $460 million to old code. How to spot it.

Read more
AI in Polish companies: official data shows it doubled. Where to start?

AI in Polish companies: official data shows it doubled. Where to start?

GUS: 17.8% of Polish companies use AI, twice as many as a year ago. Eurostat: the top barrier is lack of expertise (71%). A simple list of where to start.

Read more
WordPress updates: the holes are in plugins, not the core

WordPress updates: the holes are in plugins, not the core

Patchstack: 11,334 new WordPress vulnerabilities in 2025, 91% in plugins. The most dangerous were attacked within 5 hours. How to secure your website.

Read more
Business backups: ransomware goes after your backup first

Business backups: ransomware goes after your backup first

CERT Polska: 179 ransomware attacks in 2025 (+21%). Sophos: attackers target backups in 94% of attacks. How to check whether your backup will survive an attack.

Read more