microsoft_docs_search
on https://learn.microsoft.com/api/mcp
Severity
critical0
high0
medium1
low0
info0
1 finding on this tool
- mediumunconstrained inputf-r1-microsoft_docs_search
Tool `microsoft_docs_search` accepts unconstrained string input
The following string parameter(s) have no `maxLength` constraint: `query`. Unbounded strings let an attacker stuff arbitrary payloads through the tool, including indirect-injection content.
fix: Add a `maxLength` to each string property, or constrain with an `enum` or `pattern`. Most legitimate tool inputs fit under a few hundred bytes.
OWASP LLM01NIST MEASURE-2.3ATLAS T0051
About this tool
microsoft_docs_search is one of 3 tools exposed by Microsoft Learn MCP. The server scored 92/100 overall against the capframe rule engine (source: http). Last scanned 2026-06-05.
The findings above are emitted by the public capframe.findings.v1 schema. Disagree with one? Open an issue.