Lune

CCS2026Top-tier venue

From Payload to Plugin: Web-Scale Ecosystem Attribution of JavaScript Injection Campaigns

Ravindu De Silva, Nicholas Shao, Yigitcan Kaya, Mingxuan Yao, Yanick Fratantonio, Luca Invernizzi, Christopher Kruegel, Giovanni Vigna

Abstract

External security analysts monitoring content management system (CMS) websites for compromise often lack backend access. From the frontend alone, they can detect malicious JavaScript injections and fingerprint installed plugins, but cannot link the two to identify the root cause of compromise-the vulnerable plugin that enabled the breach. As a result, site maintainers often remove visible payloads while leaving the underlying vulnerability unpatched, creating a risk of rapid reinfection. Prior work has studied malicious JavaScript detection and CMS ecosystem security in isolation, without a systematic way to bridge this gap at scale. We present a large-scale measurement study that connects frontend-observable injections to their likely root causes in the WordPress ecosystem by comparing plugin prevalence across victim and non-victim website populations. Over 84 days, we monitor 850,000 WordPress domains, use cross-snapshot JavaScript diffs to identify candidate injections, cluster behavioral traces into campaigns, and apply enrichment analysis[1] to recover likely exploited components at the plugin:version level. This process identifies 20 campaigns spanning 13 behavioral families and affecting 1,160 sites, of which 18 campaigns remain entirely undetected by VirusTotal during the study period. Guided by the components identified through our analysis, we uncover three previously unreported vulnerabilities in popular WordPress plugins, develop proof-of-vulnerability exploits, and report them to Wordfence under coordinated disclosure. We additionally release all extracted Indicators of Compromise via AlienVault OTX to support further research and defense.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Mistrust Plugins You Must: A Large-Scale Study Of Malicious Plugins In WordPress MarketplacesRanjita Pai Kasturi, Jonathan Fuller, Yiting Sun, Omar Chabklo et al.USENIX Security 2022
  2. TARDIS: Rolling Back The Clock On CMS-Targeting Cyber AttacksRanjita Pai Kasturi, Yiting Sun, Ruian Duan, Omar Alrawi et al.S&P 2020 · 14 citations
  3. Argus: All your (PHP) Injection-sinks are belong to usRasoul Jahanshahi, Manuel EgeleUSENIX Security 2024 · 1 citation
  4. SecBench.js: An Executable Security Benchmark Suite for Server-Side JavaScriptMasudul Hasan Masud Bhuiyan, Adithya Srinivas Parthasarathy, Nikos Vasilakis, Michael Pradel et al.ICSE 2023 · 20 citations
  5. UntrustIDE: Exploiting Weaknesses in VS Code ExtensionsElizabeth Lin, Igibek Koishybayev, Trevor Dunlap, William Enck et al.NDSS 2024
Dusk over the sea between two cliffs drawn in fine vertical lines