CY.II · CySA+ CS0-004 practice question

An attacker crafts a hidden HTML form on a malicious blog that automatically submits a password-change POST request to a victim's banking portal while the victim is logged in. Which mitigation BEST prevents this attack?

Choose one answer
Check answer and explanation

Correct answer: Anti-CSRF synchronizer tokens and SameSite cookies

Explanation

Unpredictable anti-CSRF tokens and SameSite cookie attributes prevent unauthorized cross-origin state-changing requests.

Common trap

Unpredictable anti-CSRF tokens and SameSite cookie attributes prevent unauthorized cross-origin state-changing requests.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question