1. Support Center
  2. Issue Definitions
  3. Form action hijacking (reflected)

Form action hijacking (reflected)

Description: Form action hijacking (reflected)

Form action hijacking vulnerabilities arise when an application places user-supplied input into the action URL of an HTML form. An attacker can use this vulnerability to construct a URL that, if visited by another application user, will modify the action URL of a form to point to the attacker's server. If a user submits the form then its contents, including any input from the victim user, will be delivered directly to the attacker.

Even if the user doesn't enter any sensitive information, the form may still deliver a valid CSRF token to the attacker, enabling them to perform CSRF attacks. In some cases web browsers may help exacerbate this issue by autocompleting forms with previously entered user input.

Remediation: Form action hijacking (reflected)

Consider hard-coding the form action URL, or implementing a whitelist of allowed values.

Vulnerability classifications

Typical severity

Medium

Type index

0x00501500

Burp Scanner

Burp Scanner

This issue - and many more like it - can be found using our web vulnerability scanner

Read more
Get Burp

Get Burp

Scan your web application from just $399.00

Find out more
back-to-top