Cross-site Scripting (XSS) Affecting libowasp-antisamy-java package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.16% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-LIBOWASPANTISAMYJAVA-6226942
  • published3 Feb 2024
  • disclosed2 Feb 2024

Introduced: 2 Feb 2024

CVE-2024-23635  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

There is no fixed version for Debian:unstable libowasp-antisamy-java.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libowasp-antisamy-java package and not the libowasp-antisamy-java package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1