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-project:1.5.2'
<dependency>
<groupId>org.owasp.antisamy</groupId>
<artifactId>antisamy-project</artifactId>
<version>1.5.2</version>
</dependency>
<dependency org="org.owasp.antisamy" name="antisamy-project" rev="1.5.2"/>
"org.owasp.antisamy", "antisamy-project", "1.5.2"