4 Dec 2026Security news updated around the clock

Malicious JavaScript served through compromised vendor platform

HighSource: blog.qualys.com

They then modified the JavaScript code delivered to visitors of affected websites, including those of well-known brands. The malicious code stole payment card details, tampered with cryptocurrency transactions, and sent cookies to attacker-controlled servers. This incident highlights the risk of third-party JavaScript code, which can run with the same privileges as a website's own code.

The attackers did not need to break into the websites or modify their source code, servers, or pipelines. Instead, they used the vendor's content delivery network (CDN) to serve the malicious code, which was loaded from an attacker-controlled domain. A strong Content Security Policy (CSP) could have blocked the malicious code, but most affected sites had weak or no CSP in place.

Affected: news publishers, banks, airlines, software companies, and websites that run external JavaScript code. What to do: * Implement a strong Content Security Policy (CSP) to limit where scripts can load from and block malicious code. * Use tools like Qualys TotalAppSec and Qualys Web Malware Detection to identify exposure and detect malicious content.

Read the full article on blog.qualys.com

A Cyberpedia entry on Cross-Site Scripting (XSS) is planned. This story will link to it once it is published.

This brief was written with AI from the original article and checked for copied wording. Confirm details with blog.qualys.com before acting. Spotted an error, or are you the publisher and want this brief removed? Email us and we will act on it promptly.