Skip to content

Include XSS prevention in REST API examples #413

@DavidWhitlock

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

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