Clone this repo:
  1. 1401b70 SLING-8771 XSS Configuration should allow the HTML5 figure and figcaption tags by Eric Norman · 7 days ago master
  2. d6f6aae [maven-release-plugin] prepare for next development iteration by Radu Cotescu · 6 months ago
  3. 9d1c27a [maven-release-plugin] prepare release org.apache.sling.xss-2.1.8 by Radu Cotescu · 6 months ago org.apache.sling.xss-2.1.8
  4. d4f080d SLING-8367 - Switch org.apache.sling.xss to use commons-lang 3 by Radu Cotescu · 6 months ago
  5. 458d454 SLING-8353 - Change embedded ESAPI version in sling.xss by Radu Cotescu · 6 months ago

Build Status Test Status Maven Central JavaDocs License

Apache Sling XSS Protection

This module is part of the Apache Sling project.

The Apache Sling XSS Bundle provides two services for escaping and filtering XSS-prone user submitted content:

  1. org.apache.sling.xss.XSSAPI
  2. org.apache.sling.xss.XSSFilter

Please check the JavaDoc of each service to find out what methods they provide.