Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @zenalexa/unicli
  4. ›
  5. GHSA-v3f4-w7r7-v3hm

GHSA-v3f4-w7r7-v3hm: Uni-CLI: Legacy HTTP MCP transport accepted browser-originated localhost requests

June 19, 2026

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. If the user had started the local MCP HTTP transport, that page could drive tools/call requests against the user’s local Uni-CLI server.

The Streamable HTTP transport already enforced this browser-to-localhost boundary. The legacy stateless HTTP path did not, so the two HTTP transports had drifted. This issue is about the browser-to-localhost boundary; it does not change Uni-CLI’s local-code-execution trust model.

References

  • github.com/advisories/GHSA-v3f4-w7r7-v3hm
  • github.com/olo-dot-io/Uni-CLI/security/advisories/GHSA-v3f4-w7r7-v3hm

Code Behaviors & Features

Detect and mitigate GHSA-v3f4-w7r7-v3hm with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.225.2

Fixed versions

  • 0.225.2

Solution

Upgrade to version 0.225.2 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

npm/@zenalexa/unicli/GHSA-v3f4-w7r7-v3hm.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 20 Jun 2026 12:17:54 +0000.