Watch where you click – adult sites are hiding clickjacking malware in images, and all for Facebook likes
- Malicious SVG files are being weaponized to secretly like Facebook posts without user consent
- Attackers hide obfuscated JavaScript in images to bypass detection and execute dangerous social media hijacks
- Trojan.JS.Likejack silently boosts targeted Facebook posts by exploiting active sessions of unsuspecting victims
Security researchers have uncovered dozens of adult websites which are embedding malicious code inside Scalable Vector Graphics (.svg) files.
Unlike common image formats such as JPEG or PNG, SVG files use XML text to define images, which can include HTML and JavaScript.
This feature makes SVG suitable for interactive graphics but also opens the door for exploitation through attacks like cross-site scripting and HTML injection.
How the clickjacking attack works
Research from Malwarebytes found selected visitors to these websites encounter booby-trapped SVG images.
When clicked, the files run heavily obfuscated JavaScript code, sometimes using a hybrid version of a technique known as “JSFuck” to disguise the script’s true purpose.
Once decoded, the code downloads further JavaScript, ultimately deploying a payload identified as Trojan.JS.Likejack.
If the victim has a Facebook session open, the malware silently clicks “Like” on a targeted post without consent, boosting its visibility in social feeds.
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
The boost in visibility increases the chances that the targeted post will appear in more users’ feeds, effectively turning unsuspecting visitors into promoters without their knowledge.
The abuse of SVG files is not new. Two years ago, pro-Russian hackers exploited the format to carry out a cross-site scripting attack against Roundcube, a webmail platform used by millions.
More recently, phishing campaigns have used SVG files to open fake Microsoft login screens pre-filled with victims’ email addresses.
Researchers found many of these attacks originate from interconnected websites, often hosted on platforms like blogspot[.]com, and sometimes offering explicit celebrity images likely generated by artificial intelligence.
Facebook routinely shuts down accounts involved in such abuses, but those behind the campaigns often return with new profiles.
As more regions introduce age verification rules for adult content, some users may turn to less-regulated sites that deploy aggressive promotion tactics.
How to stay safe
The effect of this campaign goes beyond unwanted social media interactions. These tactics can be used for more harmful purposes, including identity theft or credential harvesting.
Experts recommend using updated security suites that can detect and block suspicious domains.
Also, ensure that your system has a properly configured firewall to prevent unauthorized data transfers.
Real-time protection can help identify threats before they execute, and awareness of file formats capable of running code is essential.
While using a VPN can help maintain privacy, it is not a substitute for strong endpoint protection and cautious online behavior.
Above all – be careful about what you click on the internet.
You might also like
Malicious SVG files are being weaponized to secretly like Facebook posts without user consent Attackers hide obfuscated JavaScript in images to bypass detection and execute dangerous social media hijacks Trojan.JS.Likejack silently boosts targeted Facebook posts by exploiting active sessions of unsuspecting victims Security researchers have uncovered dozens of adult websites…
Recent Posts
- 9 dog-care gadgets that are so clever they deserve a treat — including an ingenious on-the-go water solution and a ‘canine FitBit’
- Control Resonant is a sequel — and also a starting point
- Summer Game Fest Live 2026: The biggest news, trailers, and announcements
- OpenAI rolls out a Lockdown Mode for extra protection against prompt injection attacks
- The Dyson HushJet Mini Cool is the powerful personal fan you won’t want to live without this summer — and it’s surprisingly reasonably priced, too
Archives
- June 2026
- May 2026
- April 2026
- March 2026
- February 2026
- January 2026
- December 2025
- November 2025
- October 2025
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023