org.owasp.antisamy:antisamy@1.7.4 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.owasp.antisamy:antisamy package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

org.owasp.antisamy:antisamy is a library for performing fast, configurable cleansing of HTML coming from untrusted sources.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to flawed parsing of HTML input in the neko-htmlunit dependency, when the preserveComments directive is enabled, which causes elements in comment tags to be interpreted as executable.

How to fix Cross-site Scripting (XSS)?

Upgrade org.owasp.antisamy:antisamy to version 1.7.5 or higher.

[,1.7.5)