Skip to main content

AGENTFORCE-25.4: CSRF via ApexPages Parameter DML

๐Ÿ”ด High ยท CSRF

Detects Apex controllers that perform DML based on ApexPages URL parameters โ€” classic Visualforce CSRF when paired with apex:page action="{!...}".

Detailsโ€‹

FieldValue
Rule IDAGENTFORCE-25.4
SeverityHigh
CategoryCSRF

Remediationโ€‹

Do not run DML from page action methods. Use apex:form POST with CSRF tokens, or require an explicit commandButton invoke.

See Alsoโ€‹