cybersecuritynews.comยท13 november 2026

Client-Side Attacks Are the New Perimeter: Defending Against Magecart, Formjacking, and DOM-Based XSS

Image for the article: Client-Side Attacks Are the New Perimeter: Defending Against Magecart, Formjacking, and DOM-Based XSS
Image via cybersecuritynews.com

Client-side attacks, such as Magecart and formjacking, execute in the user's browser, bypassing traditional server-side security tools like firewalls and WAFs. These attacks inject malicious JavaScript into web pages, stealing card numbers and login credentials without leaving server logs. The 2018 British Airways breach and the 2024 Polyfill.io incident highlight the scale of this risk, with attackers compromising third-party scripts to reach thousands of websites. To mitigate these threats, organizations must implement browser-level controls like Content Security Policy (CSP) and adhere to new PCI DSS 4.0 requirements, which mandate regular checks for unauthorized changes to payment pages.