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