spring-boot-xss-sample

Simple showcase demonstrating the prevention of cross-site-scripting in Spring Boot applications. This sample currently only filters simple POST requests and doesn't filter any JSON or XML request properly!

The following frameworks are used:

  • Spring (Boot)
  • Thymeleaf
  • Bootstrap
  • AntiSamy
  • H2 DB

Running the Application

mvn spring-boot:run

open localhost:8080