A sophisticated client-side JavaScript attack has compromised over 500 websites, including high-profile government and university domains.
The malicious campaign, which injects hidden links into the Document Object Model (DOM), is believed to be part of a black hat Search Engine Optimization (SEO) effort to manipulate search engine rankings.
According to Cside researchers the attack involves the injection of JavaScript hosted on the domain scriptapi[.]dev. The scripts generate invisible links pointing to external websites, leveraging reputable domains to boost the SEO value of these external sites.
These links are styled using CSS to remain hidden from users:
The malicious scripts are distributed across multiple endpoints, including:
The c/side researchers identified the malicious domain on January 20, 2025, but no major threat feeds have flagged it yet.
Investigate Real-World Malicious Links & Phishing Attacks With Threat Intelligence Lookup - Try for Free
The attack operates in two primary steps:
These hidden links are indexed by search engines, attributing SEO value to external sites without user visibility or awareness.
The attack targets a wide range of websites using various frameworks, highlighting its broad applicability. Affected platforms include:
To protect against such attacks, organizations should implement robust security measures:
This JavaScript attack highlights the persistent threat posed by black hat SEO campaigns and supply chain vulnerabilities in web development.
Organizations must adopt proactive measures like CSP, SRI, and regular audits to safeguard their digital assets against such sophisticated threats.
Integrating Application Security into Your CI/CD Workflows Using Jenkins & Jira -> Free Webinar
NSA, CISA, and NIST have released joint security guidelines to help organizations detect, contain, and…
Hackers are exploiting a command injection flaw in SiteGuard Server Edition, a web application firewall…
A newly registered domain copies Microsoft Teams’ login page and interface, raising concerns about a…
A 16-year-old flaw in Broadcom’s Wi-Fi software can let attackers within wireless range take control…
Google has announced a new set of Android security protections designed to stop mobile scams…
Hackers are exploiting flaws in Plex Media Server to install cryptocurrency mining malware, with a…