QID 995547

Date Published: 2023-10-11

QID 995547: Java (Maven) Security Update for org.owasp.antisamy:antisamy (GHSA-pcf2-gh6g-h5r2)

There is a potential for a mutation XSS (mXSS) vulnerability in AntiSamy caused by flawed parsing of the HTML being sanitized. To be subject to this vulnerability the preserveComments directive must be enabled in your policy file and also allow for certain tags at the same time. As a result, certain crafty inputs can result in elements in comment tags being interpreted as executable when using AntiSamy's sanitized output.

Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 6.1 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Refer to Github security advisory GHSA-pcf2-gh6g-h5r2 for updates and patch information.
    Vendor References

    CVEs related to QID 995547

    Software Advisories
    Advisory ID Software Component Link
    GHSA-pcf2-gh6g-h5r2 org.owasp.antisamy:antisamy URL Logo github.com/advisories/GHSA-pcf2-gh6g-h5r2