[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fWJA8sw5GlzO29cdbExEped5kwBhDHUCAs6KKgJ6cAZg":3},{"lesson":4},{"id":5,"slug":6,"article_id":7,"title":8,"body":9,"prevention":10,"framework_refs":11,"framework_notes":17,"status":23,"created_at":24,"published_at":25,"article":26,"tags":30,"podcasts":43,"controls":44},"55a4c3bf-4d2b-4f7d-89f9-a2145b913dcb","third-party-script-injection-exposes-major-sites-to-crypto-and-payment-data-theft","5137d656-a396-44e8-a86b-39b7d7b70331","Third-Party Script Injection Exposes Major Sites to Crypto and Payment Data Theft","The OPTIMJACK campaign demonstrates how attackers can weaponize trusted third-party JavaScript providers — in this case likely Optimizely — to inject malicious code into high-profile websites without directly compromising them. By hijacking scripts that site owners already trust and load, attackers can silently replace cryptocurrency wallet addresses and harvest payment form data at scale. This is a classic supply chain attack vector: the vulnerability lies not in the target site itself, but in an external dependency it blindly executes. The incident matters because even large, well-resourced organizations like CNN, Zoom, and Salesforce are exposed when third-party script security is not continuously verified. Without strict controls over what client-side code is permitted to run, users of otherwise secure websites can be defrauded without any sign of a breach on the site itself.","**Immediate actions:**\n- Audit all third-party JavaScript dependencies currently loaded on your web properties and remove any that are non-essential.\n- Implement Subresource Integrity (SRI) hashes for all externally hosted scripts so browsers reject tampered versions.\n- Deploy a Content Security Policy (CSP) that explicitly whitelists approved script sources and blocks inline or unexpected script execution.\n\n**Long-term improvements:**\n- Establish a formal third-party vendor risk management process that includes regular security assessments of script providers.\n- Adopt a client-side security monitoring solution (e.g., web skimming detection) to alert on unexpected DOM mutations or data exfiltration attempts.\n- Maintain a software bill of materials (SBOM) for all web application dependencies, including front-end scripts.\n\n**Detection measures:**\n- Monitor outbound network requests from your web pages for unexpected domains receiving form or wallet data.\n- Set up real-time alerting on changes to any third-party script content hashes via CI\u002FCD pipeline checks or automated scanning.\n- Review Content Security Policy violation reports regularly to detect attempts to load or execute unauthorized scripts.",[12,13,14,15,16],"CIS Control 2: Inventory and Control of Software Assets (v8)","NIS2 Article 21(2)(d)","OWASP A08:2021 Software and Data Integrity Failures","NIST SP 800-53 SA-12: Supply Chain Protection","PCI DSS Requirement 6.4",{"NIS2 Article 21(2)(d)":18,"PCI DSS Requirement 6.4":19,"NIST SP 800-53 SA-12: Supply Chain Protection":20,"OWASP A08:2021 Software and Data Integrity Failures":21,"CIS Control 2: Inventory and Control of Software Assets (v8)":22},"NIS2 explicitly requires security measures addressing supply chain risks, which directly covers the trust relationship between organizations and their third-party script providers like Optimizely.","PCI DSS Requirement 6.4 mandates that payment page scripts are managed and monitored to prevent unauthorized code from capturing cardholder data, directly addressing the payment form harvesting behavior of OPTIMJACK.","SA-12 requires organizations to protect against supply chain threats by assessing and monitoring the security of external components and services, which would have flagged the compromised Optimizely script delivery.","This category specifically covers the failure to verify the integrity of externally loaded code, which is exactly what allowed the malicious OPTIMJACK script to execute unchallenged on major websites.","This control requires organizations to maintain an inventory of authorized software, which would include third-party JavaScript dependencies — ensuring unauthorized or tampered scripts are detected before they can execute.","published","2026-11-17T12:21:21.077296+00:00","2026-11-17T12:21:21.051+00:00",{"id":7,"url":27,"slug":28,"title":29},"https:\u002F\u002Fcybersecuritynews.com\u002Fcnn-zoom-and-salesforce\u002F","cnn-zoom-and-salesforce-websites-exposed-to-optimjack-javascript-attack-targetin-50d60a","CNN, Zoom and Salesforce Websites Exposed to OPTIMJACK JavaScript Attack Targeting Crypto and Payment Data",[31,37],{"id":32,"name":33,"slug":34,"description":35,"color":36},"c8b843a5-d5a7-41d1-8d3b-cabded09d2ef","Data Protection","data-protection","Unencrypted data, missing DLP, poor classification","#3b82f6",{"id":38,"name":39,"slug":40,"description":41,"color":42},"f0c2a0af-58aa-4128-87c9-6acd30f2dc48","Supply Chain","supply-chain","Third-party risk, compromised dependencies","#8b5cf6",[],[45,49,53],{"slug":46,"name":47,"problem":48},"endpoint-detection-response","Endpoint detection and response (EDR and XDR)","Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.",{"slug":50,"name":51,"problem":52},"data-loss-prevention","Data loss prevention (DLP)","Sensitive data cannot quietly leave by email, upload, USB stick or AI tool.",{"slug":54,"name":55,"problem":56},"third-party-risk-management","Third-party risk management (TPRM)","You know which suppliers could hurt you, and you hear quickly when one of them is breached."]