-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
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>"
}
Metadata
Metadata
Assignees
Labels
No labels