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โ
| Field | Value |
|---|---|
| Rule ID | AGENTFORCE-VF-02 |
| Severity | High |
| Category | CSRF |
Remediationโ
Remove the page action attribute. Invoke state-changing logic from an apex:commandButton inside apex:form.