The fix is an allow-list input type with only the fields the client may send, and the server computing or defaulting the rest.