id: CVE-2026-102878 info: name: mcp-chrome-bridge (hangwin/mcp-chrome) <= 1.0.31 - CORS Origin Bypass (CSWSH) author: carfeii severity: high description: | mcp-chrome-bridge <=1.0.31 uses origin.startsWith for CORS, so origins like http://127.0.0.1.evil.com are wrongly allowed, letting attackers bypass CORS and access the local server. remediation: | Update to the latest version beyond 1.0.31. impact: | Any website can bypass the server's CORS allowlist and make credentialed cross-origin requests to the local native-server, enabling unauthorized use of the exposed browser-automation tools (navigation, script execution, cookie/session access, screenshots) from any open browser tab. reference: - https://github.com/hangwin/mcp-chrome/issues/384 - https://github.com/hangwin/mcp-chrome/pull/383 - https://www.vulncheck.com/advisories/mcp-chrome-bridge-through-1.0.31-cors-origin-bypass - https://nvd.nist.gov/vuln/detail/CVE-2026-102878 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N cvss-score: 8.1 cve-id: CVE-2026-102878 epss-score: 0.00798 epss-percentile: 0.56535 cwe-id: CWE-346 metadata: verified: true max-request: 2 vendor: hangwin product: mcp-chrome-bridge shodan-query: html:"Chrome MCP" fofa-query: body="Chrome MCP" tags: cve,cve2026,mcp-chrome,cors,cswsh,misconfig flow: http(1) && http(2) http: - raw: - | GET /ping HTTP/1.1 Host: {{Hostname}} matchers: - type: dsl dsl: - 'status_code == 200' - 'contains(tolower(body), "pong")' condition: and internal: true - raw: - | GET /ping HTTP/1.1 Host: {{Hostname}} Origin: {{cors_origin}} payloads: cors_origin: - "http://127.0.0.1.{{rand_base(6)}}.com" matchers: - type: dsl dsl: - 'status_code == 200' - 'contains(tolower(header), "access-control-allow-origin: {{tolower(cors_origin)}}")' - 'contains(tolower(header), "access-control-allow-credentials: true")' condition: and # digest: 4b0a004830460221008e1e07f697df92b7373128948d1aac9c0888ba780a7bee272b2ad0a0e911893f022100b4b3608171f401fa77d4789569caf794a06e8a794fd8ef813f2bcee9b0e7592c:922c64590222798bb761d5b6d8e72950