Vulnerability

CVE-2024-23635

mediumCVSS 3.1 6.1Published 2 Feb 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

AntiSamy is a library for performing fast, configurable cleansing of HTML coming from untrusted sources. Prior to 1.7.5, 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. As a result, certain crafty inputs can result in elements in comment tags being interpreted as executable when using AntiSamy's sanitized output. Patched in AntiSamy 1.7.5 and later.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Antisamy Project antisamy

Weakness type

References

  • github.com /nahsra/antisamy/security/advisories/GHSA-2mrq-w8pv-5pvq

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning