---
title: "M365 Copilot SearchLeak: Your prompt injection attack surface just got bigger"
url: https://daily.dev/posts/m365-copilot-searchleak-your-prompt-injection-attack-surface-just-got-bigger-rtnadamjv
source_url: https://www.csoonline.com/article/4186970/m365-copilot-searchleak-your-prompt-injection-attack-surface-just-got-bigger.html
type: article
source: "CSO Online"
published: 2026-06-19T07:03:28.350Z
updated: 2026-06-19T07:05:55.083Z
tags: ["security", "microsoft", "llm", "prompt-injection", "data-exfiltration"]
reading_time: 6
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# M365 Copilot SearchLeak: Your prompt injection attack surface just got bigger

**[CSO Online](https://daily.dev/sources/csoonline)** · 6 min read · 0 upvotes · 0 comments

## Summary

Varonis Threat Labs disclosed a proof-of-concept attack called SearchLeak targeting Microsoft 365 Copilot Enterprise Search. The attack chains three weaknesses: a parameter-to-prompt (P2P) injection via the URL's ?q= parameter, a race condition that allows HTML rendering during the model's thinking phase before output sanitization kicks in, and a CSP bypass using Bing Image Search as a proxy to exfiltrate data to an attacker-controlled server. The result is that a single crafted link clicked by a victim can leak sensitive corporate data — including emails, SharePoint documents, and even 2FA codes — without any authentication on the attacker's side. Microsoft patched the critical vulnerability server-side. The post also highlights P2P injection as a broader emerging attack class affecting other AI-powered web services, and offers mitigation guidance for developers and security teams.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.csoonline.com/article/4186970/m365-copilot-searchleak-your-prompt-injection-attack-surface-just-got-bigger.html>

## Similar posts on daily.dev

- [Copilot 'SearchLeak' Attack Allows 1-Click Data Theft](https://daily.dev/posts/copilot-searchleak-attack-allows-1-click-data-theft-wrsuwvrwg) · Dark Reading · 0 upvotes · 0 comments
- [New attack turned Microsoft 365 Copilot into 1-click data theft tool](https://daily.dev/posts/new-attack-turned-microsoft-365-copilot-into-1-click-data-theft-tool-ffqgdzkcx) · BleepingComputer · 0 upvotes · 0 comments
- [A single click on a Microsoft link could have drained your inbox. Here’s how SearchLeak worked.](https://daily.dev/posts/a-single-click-on-a-microsoft-link-could-have-drained-your-inbox-here-s-how-searchleak-worked--l731przby) · The Next Web · 0 upvotes · 0 comments
- [Critical Copilot vulnerability allowed hackers to seal 2FA code from users](https://daily.dev/posts/critical-copilot-vulnerability-allowed-hackers-to-seal-2fa-code-from-users-ffggsogtl) · Ars Technica · 1 upvotes · 1 comments

---

Tags: [#security](https://daily.dev/tags/security), [#microsoft](https://daily.dev/tags/microsoft), [#llm](https://daily.dev/tags/llm), [#prompt-injection](https://daily.dev/tags/prompt-injection), [#data-exfiltration](https://daily.dev/tags/data-exfiltration)

[View this post on daily.dev](https://daily.dev/posts/m365-copilot-searchleak-your-prompt-injection-attack-surface-just-got-bigger-rtnadamjv)
