ForcedLeak: web-form injection could make Salesforce Agentforce leak CRM data
Noma Labs showed that an attacker could hide instructions in the description field of a Salesforce Web-to-Lead form; when an employee later asked Agentforce about the lead, the agent followed them and embedded CRM data, such as leads' email addresses, in an image request to an external server. The exfiltration worked because a domain on Agentforce's content security policy allowlist had expired and could be bought. Salesforce re-secured the domain and released patches enforcing Trusted URLs so agent output cannot be sent to untrusted URLs.
Noma rated the chain critical (CVSS 9.4) and reported it on 28 July 2025; Salesforce acknowledged it on 31 July. Any organisation using Agentforce with Web-to-Lead enabled could have been affected.
What would have stopped it
Maintain a verified allowlist of trusted URLs for agent output and treat form submissions as untrusted data.
Guardrails
- G1 Least privilege Not assessed Did the agent hold only the access the task needed?
- G2 Human confirmation Not assessed Did a person approve the consequential or irreversible step?
- G3 Isolation Partial The content security policy limited outbound domains but allowlisted an expired, purchasable domain.
- G4 Instruction integrity Failed The agent executed instructions hidden in an external Web-to-Lead submission.
- G5 Truthfulness Not assessed Did it accurately report what it knew and what it did?
- G6 Limits Not assessed Was there a cap on rate, spend, volume or scale?
- G7 Oversight Not assessed Could a responsible human see what it was doing and stop it in time?
- G8 Recovery Not assessed Could the damage be undone?
Sources
-
“This research outlines how Noma Labs discovered ForcedLeak, a critical severity (CVSS 9.4) vulnerability chain in Salesforce Agentforce that could enable external attackers to exfiltrate sensitive CRM data through an indirect prompt injection attack.”
-
“Prompt injection and an expired domain could have been used to target Salesforce’s Agentforce platform for data theft.”
Confidence 82% comes from these sources alone. How we score
History
- 14 Oct 2026Entered in the register with 2 sources