6.1

CVE-2023-43643: mXSS in AntiSamy

Modified
AliasesUBUNTU-CVE-2023-43643DEBIAN-CVE-2023-43643GHSA-pcf2-gh6g-h5r2
Published 09-10-2023Last modified 19-09-2024

Vulnerability summary

CVE-2023-43643 is a medium (CVSS 6.1) vulnerability in antisamy_project antisamy. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 46.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.54%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 09-10-2023
    PublishedVulnerability first disclosed.
  2. 19-09-2024
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.54%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.54% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Antisamy

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Antisamy_project1 product
Debian1 product
  • libowasp-antisamy-javaAll versions (No fix recorded) | < 1.7.4-1
Nahsra1 product
Org.owasp.antisamy1 product
  • antisamy< 1.7.4
Ubuntu1 product
  • libowasp-antisamy-javaAll versions (No fix recorded)

5 vendors · 5 products

References

8 links