Live threats

All CVEs / Antisamy Project

CVE-2024-23635Antisamy Project Antisamy

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.5%
probability of exploitation in 30 days · percentile 35
Auth required
No
Published
Feb 2, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Antisamy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.owasp.antisamy:antisamy < 1.7.5 1.7.5 —

Per OSV / GitHub Advisories (GHSA-2mrq-w8pv-5pvq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
antisamy_projectantisamy< 1.7.5

Official sources

References

Links published by the sources. Open them with care.