A fast and easy to configure HTML Sanitizer written in Java which lets you include HTML authored by third-parties in your web application while protecting against XSS.
'com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:r223'
<dependency>
<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
<artifactId>owasp-java-html-sanitizer</artifactId>
<version>r223</version>
</dependency>
<dependency org="com.googlecode.owasp-java-html-sanitizer" name="owasp-java-html-sanitizer" rev="r223"/>
"com.googlecode.owasp-java-html-sanitizer", "owasp-java-html-sanitizer", "r223"