Arbitrary JavaScript Execution via eval() in chrome-local-mcp

Arbitrary JavaScript Execution via eval() in chrome-local-mcp Severity: Critical | CWE: CWE-94 (Code Injection) | Package: chrome-local-mcp v1.3.0 We found a critical vulnerability in chrome-local-...

By · · 1 min read
Arbitrary JavaScript Execution via eval() in chrome-local-mcp

Source: DEV Community

Arbitrary JavaScript Execution via eval() in chrome-local-mcp Severity: Critical | CWE: CWE-94 (Code Injection) | Package: chrome-local-mcp v1.3.0 We found a critical vulnerability in chrome-local-mcp, a popular MCP server that gives AI agents like Claude full browser control through Puppeteer. The issue is straightforward: an eval tool passes user-supplied JavaScript directly to the browser with zero restrictions. Combined with persistent login sessions, this turns any prompt injection into credential theft, session hijacking, or full remote code execution on the host machine. This was discovered automatically by CraftedTrust Touchstone, our MCP security scanner. Full advisory: touchstone.craftedtrust.com/advisories/disc_mn8qpzep What chrome-local-mcp Does chrome-local-mcp is a Model Context Protocol server that exposes 22 tools for browser automation: Claude Code -> MCP Server (stdio) -> Puppeteer -> Chrome The core idea is practical - give your AI agent the ability to navig

Related Posts

Trending on ShareHub

  1. Understanding Modern JavaScript Frameworks in 2026
    by Alex Chen · Feb 12, 2026 · 0 likes
  2. The System Design Primer
    by Sarah Kim · Feb 12, 2026 · 0 likes
  3. Just shipped my first open-source project!
    by Alex Chen · Feb 12, 2026 · 0 likes
  4. OpenAI Blog
    by Sarah Kim · Feb 12, 2026 · 0 likes
  5. Building Accessible Web Applications: A Practical Guide
    by Alex Chen · Feb 12, 2026 · 0 likes
  6. Rapper Lil Poppa dead at 25, days after releasing new music
    Rapper Lil Poppa dead at 25, days after releasing new music
    by Anonymous User · Feb 19, 2026 · 0 likes
  7. write-for-us
    by Volt Raven · Mar 7, 2026 · 0 likes
  8. Before the Coffee Gets Cold: Heartfelt Story of Time Travel and Second Chances
    Before the Coffee Gets Cold: Heartfelt Story of Time Travel and Second Chances
    by Anonymous User · Feb 12, 2026 · 0 likes
    #coffee gets cold #the #time travel
  9. Best DoorDash Promo Code Reddit Finds for Top Discounts
    Best DoorDash Promo Code Reddit Finds for Top Discounts
    by Anonymous User · Feb 12, 2026 · 0 likes
    #doordash #promo #reddit
  10. Premium SEO Services That Boost Rankings & Revenue | VirtualSEO.Expert
    by Anonymous User · Feb 12, 2026 · 0 likes
  11. NBC under fire for commentary about Team USA women's hockey team
    NBC under fire for commentary about Team USA women's hockey team
    by Anonymous User · Feb 18, 2026 · 0 likes
  12. Where to Watch The Nanny: Streaming and Online Viewing Options
    Where to Watch The Nanny: Streaming and Online Viewing Options
    by Anonymous User · Feb 12, 2026 · 0 likes
    #streaming #the nanny #where
  13. How Much Is Kindle Unlimited? Subscription Cost and Plan Details
    How Much Is Kindle Unlimited? Subscription Cost and Plan Details
    by Anonymous User · Feb 12, 2026 · 0 likes
    #kindle unlimited #subscription #unlimited
  14. Russian skater facing backlash for comment about Amber Glenn
    Russian skater facing backlash for comment about Amber Glenn
    by Anonymous User · Feb 18, 2026 · 0 likes
  15. Google News
    Google News
    by Anonymous User · Feb 18, 2026 · 0 likes

Latest on ShareHub

Browse Topics

#ai (3170)#news (2265)#webdev (1358)#business (1098)#programming (928)#/business (803)#opensource (777)#security (703)#sa transcripts (685)#productivity (657)

Around the Network