Skip to main content

AGENTFORCE-VF-02: Visualforce CSRF via page action

๐Ÿ”ด High ยท CSRF

Detects apex:page action="{!...}" which runs a controller method on GET โ€” classic VF CSRF.

Detailsโ€‹

FieldValue
Rule IDAGENTFORCE-VF-02
SeverityHigh
CategoryCSRF

Remediationโ€‹

Remove the page action attribute. Invoke state-changing logic from an apex:commandButton inside apex:form.

See Alsoโ€‹