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.
Published: 2024-02-02
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2024-0472 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.
Github GHSA Github GHSA GHSA-2mrq-w8pv-5pvq Malicious input can provoke XSS when preserving comments
History

No history.

Subscriptions

Antisamy Project Antisamy
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-01T23:06:25.335Z

Reserved: 2024-01-19T00:18:53.232Z

Link: CVE-2024-23635

cve-icon Vulnrichment

Updated: 2024-08-01T23:06:25.335Z

cve-icon NVD

Status : Modified

Published: 2024-02-02T17:15:11.527

Modified: 2024-11-21T08:58:03.280

Link: CVE-2024-23635

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses