Hexret

Web Security · Insecure Deserialization

BinaryFormatter

A legacy .NET object-graph formatter that can invoke powerful behavior while loading. Microsoft says it cannot be made safe for untrusted input. The in-box implementation throws on .NET 9 and later; an unsupported compatibility package plus an unsafe switch can restore it. Migrate external data to a fixed schema.

Where you practice it

Related terms