
CVE catalog
CVE-2023-43643
libowasp-antisamy-java: CVE-2023-43643
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.54% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libowasp-antisamy-java | sid | 1.7.8-1 | fixed |
| Debian | libowasp-antisamy-java | forky | 1.7.4-1 | fixed |
| Debian | libowasp-antisamy-java | trixie | 1.7.4-1 | fixed |
| Debian | libowasp-antisamy-java | bookworm | 1.5.3+dfsg-1.1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libowasp-antisamy-java | source | sid | 1.7.4-1 | not yet assigned | Not reported | [1054164] |
| Debian | libowasp-antisamy-java | source | forky | 1.7.4-1 | not yet assigned | Not reported | [1054164] |
| Debian | libowasp-antisamy-java | source | trixie | 1.7.4-1 | not yet assigned | Not reported | [1054164] |
| Debian | libowasp-antisamy-java | source | bookworm | (unfixed) | not yet assigned | Not reported | [1054164] |
Notes
[bookworm] libowasp-antisamy-java: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-43643]
- [https://security-tracker.debian.org/tracker/CVE-2023-43643]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0123.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]