Skip to main content
VulnerabilityPublished Updated

CVE-2024-23635: Libowasp antisamy java · Prior to 1.7.5, there is a potential for a mutation XSS (mXSS) vulnerability

Affects libowasp-antisamy-javaSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.1 Medium · fixed in 1.7.5 : update libowasp-antisamy-java when convenient.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Feb 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libowasp-antisamy-javapkg:deb/ubuntu/libowasp-antisamy-java?arch=source&distro=stonkingOther threatsAffected
  • =1.7.4-1
Fixed in–
Ubuntu 26.04 LTSlibowasp-antisamy-javapkg:deb/ubuntu/libowasp-antisamy-java?arch=source&distro=resoluteOther threatsAffected
  • =1.7.4-1
Fixed in–
Ubuntu 25.10libowasp-antisamy-javapkg:deb/ubuntu/libowasp-antisamy-java?arch=source&distro=questingOther threatsAffected
  • =1.7.4-1
Fixed in–
Ubuntu 24.04 LTSlibowasp-antisamy-javapkg:deb/ubuntu/libowasp-antisamy-java?arch=source&distro=nobleOther threatsAffected
  • =1.5.3+dfsg-1.1
  • =1.7.4-1
Fixed in–
Ubuntu 22.04 LTSlibowasp-antisamy-javapkg:deb/ubuntu/libowasp-antisamy-java?arch=source&distro=jammyOther threatsAffected
  • =1.5.3+dfsg-1.1
Fixed in–
Ubuntu 20.04 LTSlibowasp-antisamy-javapkg:deb/ubuntu/libowasp-antisamy-java?arch=source&distro=focalOther threatsAffected
  • =1.5.3+dfsg-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…