01642 06 11 11 Arrange Call

Unrestricted Script Tag Passing in XSSAPI.encodeForJSString() Method in Apache Sling

CVE-2016-5394 · MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVE-2016-5394

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.

Learn more about our Cis Benchmark Audit For Apache Http Server.