How do we manage the risk of plugins, third-party scripts and website vendors?
Answers
Treat every plugin, library, external script and vendor as part of the attack surface: list them all, remove what is not needed, pin versions, and keep vendor access to the minimum with MFA and an audit trail.
Explanation
In June 2024 the cdn.polyfill.io domain, used by more than 100,000 websites, was taken over and began injecting malicious code that redirected visitors. Sites loading that script directly from the third-party domain were affected without any change on their own servers.
Practical steps: a component inventory (SBOM), self-hosting critical scripts or using Subresource Integrity, a Content Security Policy that limits script origins, scheduled updates tested on staging first, and removal of vendor and unused accounts.
In vendor contracts, include obligations to patch within a set time, report incidents, hand over code and credentials when the contract ends, and undergo periodic security testing. The Verizon DBIR 2025 found third-party involvement in breaches has reached 30%.
Read next
Read next.
What security standards should a corporate website meet?
Use the OWASP Top 10:2025 as the minimum checklist, run vulnerability assessments regularly and after major changes, set correct security headers and TLS, publish a vulnerability reporting channel through security.txt, enable logging and alerting, and test backup restoration.
What are the biggest security threats to corporate websites today?
Four matter most for corporate websites in Indonesia: online gambling content injected through CMS weaknesses, vulnerabilities exploited before they are patched, supply chain compromise through plugins and third-party scripts, and security misconfiguration.
Website Maintenance & Support
Annual maintenance with ticketing, security and content updates.
How can we help?
Pick the topics you would like to discuss with our team. Or email marketing.support@samcgi.com