← Vulnerability feed

Vulnerability record · CVE-2023-43643 · published 9 October 2023

CVE-2023-43643: Antisamy project antisamy cross-site scripting vulnerability

Antisamy Project · Antisamy

AntiSamy is a library for performing fast, configurable cleansing of HTML coming from untrusted sources. Prior to version 1.7.4, 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. This issue has been patched in AntiSamy 1.7.4 and later.

6.1 CVSS 3.1 Medium EPSS 0.54% · top 53.7% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score
0.54%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

AntiSamy is a library for performing fast, configurable cleansing of HTML coming from untrusted sources. Prior to version 1.7.4, 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. This issue has been patched in AntiSamy 1.7.4 and later.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-43643 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2022-28366Cyberneko html project cyberneko html vulnerabilityCertain Neko-related HTML parsers allow a denial of service via crafted Processing Instruction (PI) input that causes excessive heap memory consumpti…EPSS 2.2%6.1CVE-2024-23635Antisamy project antisamy cross-site scripting vulnerabilityAntiSamy 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 m…EPSS 0.37%6.1CVE-2022-28367Antisamy project antisamy cross-site scripting vulnerabilityOWASP AntiSamy before 1.6.6 allows XSS via HTML tag smuggling on STYLE content with crafted input. The output serializer does not properly encode the…EPSS 1.0%6.1CVE-2022-29577Antisamy project antisamy cross-site scripting vulnerabilityOWASP AntiSamy before 1.6.7 allows XSS via HTML tag smuggling on STYLE content with crafted input. The output serializer does not properly encode the…EPSS 1.3%6.1CVE-2021-35043Antisamy project antisamy cross-site scripting vulnerabilityOWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a …EPSS 1.5%6.1CVE-2017-14735Antisamy project antisamy cross-site scripting vulnerabilityOWASP AntiSamy before 1.5.7 allows XSS via HTML5 entities, as demonstrated by use of : to construct a javascript: URL.EPSS 1.7%6.1CVE-2016-10006Antisamy project antisamy cross-site scripting vulnerabilityIn OWASP AntiSamy before 1.5.5, by submitting a specially crafted input (a tag that supports style with active content), you could bypass the library…EPSS 2.4%9.8CVE-2026-76466Cisco expressway hard-coded credentials vulnerabilityA vulnerability in the database service feature of Cisco Expressway Series could allow an unauthenticated, remote attacker with network access to a C…KEVEPSS 0.42%

Source: NIST National Vulnerability Database (record CVE-2023-43643), CISA KEV, FIRST EPSS (scores of 2026-11-19). This page is refreshed as NVD updates the record.