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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nahsra | antisamy | < 1.7.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libowasp-antisamy-java | 1.7.8-1 | — |
| Debian 13 | libowasp-antisamy-java | No fix yet | — |
| Debian 12 | libowasp-antisamy-java | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libowasp-antisamy-java | No fix yet | — |
| Ubuntu 26.04 LTS | libowasp-antisamy-java | No fix yet | — |
| Ubuntu 25.10 | libowasp-antisamy-java | No fix yet | — |
| Ubuntu 24.04 LTS | libowasp-antisamy-java | No fix yet | — |
| Ubuntu 22.04 LTS | libowasp-antisamy-java | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libowasp-antisamy-java | No fix yet | — |
| Ubuntu 18.04 LTS | libowasp-antisamy-java | No fix yet | — |
| Ubuntu 16.04 LTS | libowasp-antisamy-java | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.owasp.antisamy:antisamy | < 1.7.5 | 1.7.5 | GHSA-2mrq-w8pv-5pvq |
Advisories 7
- WID-SEC-2025-0143 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 17, 2025
- WID-SEC-2024-0899 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 9, 2025
- NCSC-2025-0027 Kwetsbaarheden verholpen in Oracle Fusion Middleware NCSC-NL (Netherlands) · Jan 22, 2025
- WID-SEC-2024-3218 Oracle Systems: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 15, 2024
- WID-SEC-2024-1659 Oracle Insurance Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 16, 2024
- WID-SEC-2024-1069 IBM Maximo Asset Management: Schwachstelle ermöglicht Cross-Site Scripting BSI CERT-Bund (WID) · May 7, 2024
- WID-SEC-2024-0873 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 16, 2024