QID 996517

Date Published: 2024-01-04

QID 996517: DotNet (Nuget) Security Update for OWASP.AntiSamy (GHSA-8x6f-956f-q43w)

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-8x6f-956f-q43w for updates and patch information.
    Vendor References

    CVEs related to QID 996517

    Software Advisories
    Advisory ID Software Component Link
    GHSA-8x6f-956f-q43w OWASP.AntiSamy URL Logo github.com/advisories/GHSA-8x6f-956f-q43w