MODERATE 6.1

CVE-2022-29577

Cross-site Scripting in OWASP AntiSamy

Description

AntiSamy is a library for performing fast, configurable cleansing of HTML coming from untrusted sources. OWASP AntiSamy before 1.6.7 allows XSS via HTML tag smuggling on STYLE content with crafted input. The output serializer does not properly encode the supposed Cascading Style Sheets (CSS) content. NOTE: this issue exists because of an incomplete fix for CVE-2022-28367.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.owasp.antisamy » antisamy
< 1.6.7
1.6.7

Blast radius

1affected artifacts
64affected versions
4,006dependent artifacts (est.)
482,595dependent versions

50% of the dependent artifacts (2,038) still pull an affected version in their latest release.

DepthDependent versions
Direct
11,485
2 hops
212,050
3 hops
66,936
4 hops
43,516
5 hops
56,570
6 hops
92,038

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.