Description
Uni-CLI versions before 0.225.2 exposed the legacy JSON-RPC-over-HTTP MCP transport on loopback without validating browser Origin headers before routing requests. A malicious web page could send a CORS simple POST request, such as text/plain, to the local /mcp endpoint and deliver a JSON-RPC body to the dispatcher.
Recommendation
Update the @zenalexa/unicli package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.225.2
- Patched version(s): 0.225.2
References
Could your website be exposed too?
SmartScanner can check your website for Uni-CLI: Legacy HTTP MCP transport accepted browser-originated localhost requests and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Axios HTTP/2 Session Cleanup State Corruption Vulnerability - CVE-2026-39865
- mcp-data-vis vulnerable to denial of service via unsanitized `select` key lookup on `Object.prototype` with `precompile: - Vulnerability
- DeepSeek Harness contains an authentication bypass vulnerability in local HTTP control-plane API - CVE-2026-82533
- Unwanted access to the entire file system vulnerability due to a missing check in `staticFiles` HTTP handler - CVE-2025-27098


