All reports
Medium

Cross site scripting in Apache Sling

Affected versions

Affected versions
< 1.1.0
Fixed version
1.1.0
Affected versions
< 1.0.12
Fixed version
1.0.12

Exploitation

CVE-2016-5394

Probability of exploitation in the next 30 days: 2.60%

FIRST EPSS · 2026-11-19

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.

Links

Credits

  • wtwhite