Tuesday, August 11, 2026
LIVEThe Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///The Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///
Subscribe
Cyber Security
Independent · Digital
Thehackingpost
CybersecurityAI-assisted

Hackers Exploit Rogue MCP Server to Inject Malicious Code into Cursor’s Built-In Browser

Security researchers have uncovered a critical vulnerability in Cursor, the AI-powered code editor, that allows attackers to inject malicious code through rogue Model Context Protocol (MCP) servers.Unlike VS Code, Cursor lacks integrity checks on its…

Security researchers have uncovered a critical vulnerability in Cursor, the AI-powered code editor, that allows attackers to inject malicious code through rogue Model Context Protocol (MCP) servers.Unlike VS Code, Cursor lacks integrity checks on its runtime components, making it vulnerable to tampering through MCP server registration.The attack works by registering a local MCP server that completely circumvents Cursor’s built-in security controls. When an unsuspecting developer enables a malicious MCP server and restarts Cursor, the browser becomes compromised.Attackers can inject arbitrary JavaScript code that hijacks the internal browser, replacing legitimate login pages with credential-harvesting fakes that send stolen credentials to remote servers.How the Attack FunctionsThe vulnerability stems from Cursor’s failure to verify the integrity of Cursor-specific features during runtime.Researchers created a proof-of-concept by modifying internal, unverified code during MCP server registration. This modification injects malicious code into Cursor’s browser without requiring special permissions or checksum recalculation.The attack executes by assigning document.body.innerHTML with attacker-controlled HTML, effectively rewriting the entire page body and erasing prior DOM state.This technique bypasses UI-level security checks entirely. Once active, every browser tab Cursor opens and executes the injected payload, creating a persistent attack surface.The process requires three steps: enabling the MCP server, restarting Cursor to apply the changes, and running the malicious JavaScript in the embedded browser.This represents a dual-layer eval attack that provides attackers with extensive capabilities.This vulnerability demonstrates a broader threat landscape where coding agents introduce expanding attack surfaces daily.MCP servers require broad permissions to function, meaning compromised servers can modify themselves, escalate privileges, and gain new capabilities without user visibility.Attackers can perform any action the compromised user can, with minimal controls in place to mitigate risk.The emerging supply chain risks associated with AI agents are significant. Yet, organizations maintain minimal visibility into their deployment and usage.MCP servers, extensions, and even simple prompts can execute code in user environments and corporate networks without detection.Developers should carefully check any MCP server or extension before using it. Verify the project’s GitHub repository and thoroughly review the source code before installation.Never unquestioningly enable functionality, especially MCP features, and avoid using auto-run modes that bypass user oversight.Additionally, developers should manually review code generated by AI agents before executing actions in embedded browsers.The consequences of misplaced trust in developer tooling can extend beyond individual machines, compromising entire corporate networks.While Cursor was notified before publication, this discovery reinforces that the developer’s machine has become the new cyber defense perimeter.Organizations must implement comprehensive supply chain security measures, including reputation systems for safe ingestion and posture management capabilities, to protect against evolving threats targeting AI-powered development environments.Follow us on Google News, LinkedIn, and X to Get Instant Updates and set GBH as a Preferred Source in Google.

Based on reporting by GBHackers.

Advertisement
AI transparency. This article was produced with the assistance of artificial intelligence and published under human editorial oversight. AI systems can make mistakes. Read how we use AI (EU AI Act, Art. 50).
Related Stories