The OWASP AntiSamy project is a collection of APIs for safely allowing users to supply their own HTML and CSS without exposing the site to XSS vulnerabilities.
'org.owasp.antisamy:antisamy-demo:1.5.2'
<dependency>
<groupId>org.owasp.antisamy</groupId>
<artifactId>antisamy-demo</artifactId>
<version>1.5.2</version>
</dependency>
<dependency org="org.owasp.antisamy" name="antisamy-demo" rev="1.5.2"/>
"org.owasp.antisamy", "antisamy-demo", "1.5.2"