Skip to content

RESTful API requests with XSS attack #30

Description

@VenkatKoppisetty

restful-api plugin need to detect the possible XSS (Cross Site Scripting) attack in API request. If there is any XSS threat, in request body or in parameters, the request should be rejected. RestfulApiController is being the entry point for all API requests, XSS checks can be provided there. This eliminates the consumers of plugin to duplicate the XSS check within each service.

Sample API request with XSS attack:

{
"code": "20025",
"title": "<script> alert('XSS'); </script>"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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