patchminder
No public exploit found CVE-2023-43643

Cross-site scriptingin the org.owasp.antisamy:antisamy package.

Published 9 Oct 2023 · Updated 19 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 6.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.5% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.7.4 or later
In plain words

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.

What to do now
  • Upgrade org.owasp.antisamy:antisamy (Maven) to 1.7.4 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
antisamy
1.7.3 and earlier
Not confirmed
CVE record
org.owasp.antisamy:antisamy (Maven)
before 1.7.4
1.7.4
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 20 Sep 2023
    CVE ID reserved by GitHub_M.
  2. 9 Oct 2023
    Published in the CVE List.
  3. 19 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

Same weakness: Cross-site scripting

All CWE-79 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-43643: Cross-site scripting in the org.owasp.antisamy:antisamy package. https://patchminder.com/cve/cve-2023-43643/ (accessed 5 December 2026).