Thanks to visit codestin.com
Credit goes to github.com

Skip to content

JSON Injection #47

@QiAnXinCodeSafe

Description

@QiAnXinCodeSafe

heartbeatRequest = JSONObject.parseObject(request.getParameter("client"), HeartbeatRequest.class);

heartbeatRequest = JSONObject.parseObject(request.getParameter("client"), HeartbeatRequest.class);

The method writes unvalidated input into JSON. This call could allow an attacker to inject arbitrary elements or attributes into the JSON entity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions