Cross-site Scripting (XSS) Affecting libowasp-antisamy-java package, versions <1.7.4-1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.46% (64th 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-5952217
  • published10 Oct 2023
  • disclosed9 Oct 2023

Introduced: 9 Oct 2023

CVE-2023-43643  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:unstable libowasp-antisamy-java to version 1.7.4-1 or higher.

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 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.

CVSS Base Scores

version 3.1