IncidentPrompt injection
ForcedLeak: Salesforce Agentforce leaks CRM data through a web form
CriticalSalesforce
An attacker could type hidden instructions into a company's public lead form. When an employee later asked Agentforce to handle the lead, the AI sent CRM data to the attacker through an expired domain that Salesforce still trusted.
Replay the attack step by step in the Learning Center
How it happened
- The attacker submits a Web-to-Lead form with instructions hidden in the long Description field.
- An employee later asks Agentforce to process the lead.
- The model cannot tell data from instructions, so it also collects lead email addresses from the CRM.
- It outputs an image whose URL carries the data to an expired domain still on the allowlist, which the researchers bought for about $5.
Impact
CRM data such as customer contacts and pipeline details could be stolen from organizations using Agentforce.
The fix
Salesforce reclaimed the domain and, from September 8, 2025, enforced Trusted URLs so agent output cannot reach untrusted URLs.
Lessons
- Any public input an agent reads later, such as forms, tickets or reviews, is attack surface.
- Audit allowlists regularly: an expired domain on an allowlist is a ready-made exfiltration channel.
- Turn on vendor controls such as Trusted URLs enforcement.