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:r136'
<dependency>
<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
<artifactId>owasp-java-html-sanitizer</artifactId>
<version>r136</version>
</dependency>
<dependency org="com.googlecode.owasp-java-html-sanitizer" name="owasp-java-html-sanitizer" rev="r136"/>
"com.googlecode.owasp-java-html-sanitizer", "owasp-java-html-sanitizer", "r136"