Hexret

Web Security · Injection

Ruby Binding

Also known as: Binding object

A Ruby object that captures an execution context, including local variables, methods, and `self`. `ERB#result(binding)` evaluates template expressions in that captured context, so exposed locals can affect what attacker-controlled ERB source can read or call.

Where you practice it

Related terms