CVE-2016-5394
mediumpriority · track · 35EPSS 0.026 · 85 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
affected products (4)
Products and version ranges known to be affected.
- Maven org.apache.sling:org.apache.sling.xss< 1.0.12osvUSpkg:maven/org.apache.sling/org.apache.sling.xss
- Maven org.apache.sling:org.apache.sling.xss.compat< 1.1.0osvUSpkg:maven/org.apache.sling/org.apache.sling.xss.compat
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-xwf4-88xr-hx2jCross site scripting in Apache Sling2022-05-13ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://lists.apache.org/thread.html/332166037a54b97cf41e2b616aaed38439de94b19b204841478e4525@%3Cdev.sling.apache.org%3Ecnnvd
- https://www.securityfocus.com/bid/99870cnnvd
- http://www.securityfocus.com/bid/99870enisa_euvd
- https://lists.apache.org/thread.html/332166037a54b97cf41e2b616aaed38439de94b19b204841478e4525%40%3Cdev.sling.apache.org%3Eenisa_euvd
- http://www.securityfocus.com/bid/99870Third Party AdvisoryVDB Entrynvd
- https://lists.apache.org/thread.html/332166037a54b97cf41e2b616aaed38439de94b19b204841478e4525%40%3Cdev.sling.apache.org%3Envd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan