MODERATE 6.1

CVE-2016-5394

Cross site scripting in Apache Sling

Description

In the XSS Protection API module before 1.0.12 in Apache Sling, the encoding done by the XSSAPI.encodeForJSString() method is not restrictive enough and for some input patterns allows script tags to pass through unencoded, leading to potential XSS vulnerabilities.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.sling » org.apache.sling.xss
< 1.0.12
1.0.12
org.apache.sling » org.apache.sling.xss.compat
< 1.1.0
1.1.0

Blast radius

2affected artifacts
6affected versions
25dependent artifacts (est.)
156dependent versions

48% of the dependent artifacts (12) still pull an affected version in their latest release.

DepthDependent versions
Direct
21
2 hops
53
3 hops
42
4 hops
40

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.