CVE-2016-5394
MEDIUMApache Sling < 1.0.12 - XSS
Title source: ruleDescription
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.
Exploits (2)
nomisec
WRITEUP
by shoucheng3 · poc
https://github.com/shoucheng3/apache__sling-org-apache-sling-xss_CVE-2016-5394_1-0-8
Scores
CVSS v3
6.1
EPSS
0.0109
EPSS Percentile
77.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (4)
apache/sling
< 1.0.12
org.apache.sling/org.apache.sling.xss
< 1.0.12Maven
org.apache.sling/org.apache.sling.xss.compat
< 1.1.0Maven
Apache Software Foundation/Apache Sling
< prior to 1.0.12
Published
Jul 19, 2017
Tracked Since
Feb 18, 2026