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.33% (56th 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-2803282
  • published26 Apr 2022
  • disclosed19 Jul 2021

Introduced: 19 Jul 2021

CVE-2021-35043  (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.

OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with &#00058 as the replacement for the : character.

CVSS Base Scores

version 3.1