Source: Varonis Blog
Author: Dolev Taler
URL: https://www.varonis.com/blog/searchleak
ONE SENTENCE SUMMARY:
SearchLeak chained P2P prompt injection, streaming HTML race, and Bing SSRF to silently exfiltrate Microsoft 365 Copilot Enterprise data via one click.
MAIN POINTS:
- Varonis found a three-stage chain weaponizing Copilot Enterprise Search for covert data theft.
- Parameter-to-Prompt Injection lets the URL
qparameter become executable Copilot instructions. - Enterprise Search’s focus on organizational content makes it ideal for harvesting sensitive business data.
- Attack requires only one click on a trusted
microsoft.comlink—no plugins or permissions. - A streaming-phase HTML rendering race allows
<img>requests before output sanitization. - Post-processing
<code>wrapping occurs too late; the browser already emitted the outbound request. - CSP blocks direct attacker domains, but
*.bing.comis allowlisted for images. - Bing’s “search by image” endpoint server-fetches attacker URLs, acting as an SSRF proxy.
- Exfiltration is achieved by embedding stolen mailbox content into the image URL path.
- Microsoft patched as CVE-2026-42824, rated critical, highlighting AI-enabled chaining of classic bugs.
TAKEAWAYS:
- Treat AI query parameters as potential instruction channels, not merely search input.
- Apply sanitization during streaming/render time, not after model output completion.
- Audit CSP allowlists for endpoints that perform server-side URL fetches.
- Detect suspicious Copilot Search URLs containing encoded HTML tags or exfiltration prompts.
- User awareness matters: long encoded Microsoft links and unsolicited Copilot searches warrant reporting.