The reflected XSS in the 'Next AI' product's MCP integration lives in the mcp query parameter, where unsanitized input gets interpolated directly into both HTML and JavaScript contexts. The vulnerability spans versions 0.2.1 through 0.4.16 — meaning multiple releases shipped with this flaw before anyone caught it.

The parameter naming is the signal that shouldn't be ignored. When developers introduce a query parameter named after a technology—mcp, graphql, websocket—they're implicitly modeling it as a configuration token rather than attacker-reachable input. That cognitive trap has a documented genealogy: the 2019 GraphQL traversal CVEs and the 2021 WebSocket injection cluster share this exact signature. The parameter name is a fossil trace of a forgotten security assumption, and it's the specific reason this class of vulnerability keeps recurring despite years of awareness about XSS.

What makes this worse is the MCP integration context itself. Model Context Protocol is designed to connect AI systems to external data sources and tooling — meaning the reflected XSS isn't just exfiltrating diagram sessions; it's potentially pivoting into whatever systems the AI has context access to. The localhost origin constraint caps the CVSS at 6.1 (MEDIUM), but that scoring artifact doesn't change what a successful exploit can reach if the AI integration holds access to wikis, repositories, or databases.

On localhost: the constraint limits direct exploitation but doesn't eliminate the risk. If the diagram tool's sessions include context from connected systems — architecture docs with embedded secrets, cross-system tokens — then the exfiltration is extracting value far beyond what's visible on the surface. Score the vulnerability as CVSS dictates, but model the blast radius based on what MCP actually touches.

What you should do: audit any query parameter named after a protocol or technology stack in your codebase — those are the fossil signatures of this vulnerability class. Check your MCP, GraphQL, or WebSocket integrations specifically for reflected input in template or script contexts. If you're building AI integrations, treat the query parameter namespace as hostile by default; the protocol's intent doesn't create a security boundary. The fix is straightforward (escape the mcp parameter before interpolation), but the pattern will recur wherever developers assume a parameter named for a technology is somehow internally-controlled.