Home › Intelligence › Brief
BREACH BRIEF🟠 High Breach

Third‑Party JavaScript Supply‑Chain Compromise Serves Malicious Code to Major Brands, Exfiltrating Payment Data

A trusted third‑party CDN was hijacked, allowing attackers to serve malicious JavaScript that stole payment‑card details and cookies from visitors of banks, news sites, airlines and SaaS firms. The breach bypassed traditional code reviews because the victim sites never changed their own code. It underscores the importance of continuous third‑party risk monitoring for audit readiness.

LiveThreat™ Intelligence · 📅 November 20, 2026· 📰 blog.qualys.com
🟠
Severity
High
BR
Type
Breach
🎯
Confidence
High
🏢
Affected
4 sector(s)
✅
Actions
5 recommended
📰
Source
blog.qualys.com

Third‑Party JavaScript Supply‑Chain Compromise Serves Malicious Code to Major Brands, Exfiltrating Payment Data

What Happened — A widely used third‑party web‑service was compromised when attackers gained administrative control of customer accounts on the vendor’s platform. They altered the JavaScript that the vendor’s CDN delivered to every visitor of the affected customers’ pages. The malicious script stole payment‑card details, tampered with cryptocurrency transactions, and exfiltrated readable cookies to attacker‑controlled servers. The compromise affected high‑profile sites—including news publishers, banks, airlines, and software firms—without any change to the victims’ own source code or infrastructure.

Visitors to a range of high‑profile sites—including news outlets, banks, airlines and software firms—were recently presented with malicious JavaScript that the owners never authored. Researchers determined that the code arrived not through a breach of the victims’ own servers but by compromising a widely used third‑party platform. Attackers first obtained administrative access to a number of customer accounts on the vendor’s system, then altered the JavaScript those accounts were configured to deliver. The vendor’s content‑delivery network subsequently distributed the tampered script to every user of the affected pages, using the vendor’s legitimate TLS certificate and a domain already trusted by the sites.

The incident highlights the hidden danger of any external <script src> tag, which grants the referenced host the same browser privileges as the site itself. Because the malicious payload was fetched from the compromised vendor’s domain, a standard Content Security Policy (CSP) that merely whitelisted that host would not have blocked it. Analysts noted that a “strong” CSP—one that restricts script‑src to trusted origins, eliminates ‘unsafe‑eval’ and ‘unsafe‑inline’, and avoids ‘strict‑dynamic’—could have prevented the inline fallback from executing and limited the attacker’s ability to load additional code. Even a tight connect‑src directive would have curtailed data exfiltration, though it would not have stopped the script from swapping cryptocurrency wallet addresses on the page.

Qualys’ security suite now offers several checks that can surface similar supply‑chain risks. QID 150206 flags applications that lack any CSP header, while QID 150207 highlights insecure CSP elements such as wildcards, missing default‑src or the presence of ‘unsafe‑eval’, which directly enabled the inline payload in this case. QID 150545 inventories external JavaScript libraries discovered during crawling, giving teams visibility into which third‑party scripts are in use. A newly added QID 533507 detects references to known malicious scripts by probing for suspicious script src values. Qualys advises customers to review CSP violation reports—something the compromised vendor recommended—as sites without reporting had no logs to examine.

Qualys TotalAppSec maps exposure points and control configurations, while Qualys Web Malware Detection asks whether malicious content is present. The latter blends heuristic analysis (signature rules for patterns such as encoded JavaScript), behavioral analysis (visiting the site with a vulnerable browser and watching for unexpected file writes or processes), reputation checks against public blacklists, and antivirus scanning of downloaded scripts and files. Three detections directly address third‑party script risk: QID 207003 flags “A file written to disk during page rendering matches a virus signature”; QID 208000 reports “Content was loaded from a remote malicious page” when a page pulls scripts, iframes or images from a blacklisted domain; and QID 208001 notes “A link to a malicious page was found” when a page links to a domain on one or more blacklists. Reputation‑based detection only works if the domain is already blacklisted, and the campaign’s primary domain was registered the morning the attack began, according to Report URI, underscoring the need for continuous scanning and preventive controls such as Content‑Security‑Policy (CSP).

The findings can be grouped into three perspectives. Script references are identified by QID 533507 (new) and QID 150545, showing where an application depends on external JavaScript. Weak controls appear as QID 150206 (no CSP header) and QID 150207 (CSP contains unsafe‑inline, unsafe‑eval, wildcards, missing default‑src or reporting). Malicious content is captured by QIDs 207003, 208000, and 208001, providing concrete evidence that harmful code is present. The table in the vendor report links each QID to its product and the specific condition it establishes.

Security teams are advised to follow the vendor’s remediation steps: verify which pages executed the malicious snippet during the exposure window, review CSP violation reports and outbound requests against both the vendor’s and Report URI’s indicators of compromise, and retain web, CDN, and CSP logs. Organizations should inventory third‑party scripts using QIDs 533507 and 150545, prune unnecessary scripts—especially on payment, login, and personal‑data pages—and enforce a restrictive CSP, eliminating unsafe‑eval and wildcards while testing changes in Report‑Only mode. Ongoing monitoring of script changes, investigation of any Web Malware Detection alerts, removal of unauthorized scripts, rotation of secrets stored in readable cookies, and a post‑remediation rescan complete the recommended response. The incident demonstrated that an attacker did not need to breach an individual customer’s application; exploiting a single weakness in a shared platform was sufficient to compromise the broader ecosystem.

Why It Matters for Trust & Control Assurance — The incident demonstrates how a single weakness in a trusted third‑party component can bypass traditional code reviews and server‑side monitoring, highlighting the need for continuous vendor oversight and script‑level controls.

Who Is Affected — Financial services, media & publishing, airlines, SaaS/technology providers.

Recommended Actions

  • Build and maintain an inventory of every third‑party script loaded on your web properties.
  • Enforce a restrictive Content Security Policy (CSP) that blocks unsafe‑eval/inline and limits script‑src to only required domains.
  • Deploy Subresource Integrity (SRI) or self‑host infrequently changing scripts.
  • Require MFA/SSO for vendor accounts that can publish code and regularly audit their security posture.
  • Continuously monitor script hashes, network destinations, and CSP violation reports for unexpected changes.

Technical Notes

  • Attack vector: compromised third‑party CDN delivering malicious JavaScript.
  • Data exfiltrated: payment‑card numbers, session cookies, cryptocurrency wallet details.
  • Controls bypassed: lack of CSP or weak CSP (unsafe‑eval, unsafe‑inline), no script inventory, no monitoring of third‑party changes.
📰 Original Source
https://blog.qualys.com/product-tech/2026/11/19/third-party-javascript-is-part-of-your-attack-surface-lessons-from-a-recent-supply-chain-attack ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Vendor Risk Hub

This is the scenario continuous vendor monitoring is built to catch.

When a vendor is compromised, your third-party risk controls are what produce the audit trail showing you knew, assessed, and acted. The Verisq AI Trust Operations platform tracks that continuously.

Explore the Verisq AI Trust Operations platform →