Skip to content

Include XSS prevention in REST API examples #413

Description

@DavidWhitlock

Even though classes like AirlineServlet do not output HTML, the code really should do something to protect against XSS attacks. It would be a good example.

Here are some ideas from OWASP:

https://cheatsheetseries.owasp.org/cheatsheets/Injection_Prevention_in_Java_Cheat_Sheet.html#htmljavascriptcss

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